DarkaOnLine/L5-Swagger

View on GitHub
tests/HelpersTest.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Tests;

use L5Swagger\Exceptions\L5SwaggerException;

/**
 * @testdox Helpers
 */
class HelpersTest extends TestCase
{
    /** @test */
    public function assetFunctionThrowsExceptionIfFileDoesNotExists(): void
    {
        $this->expectException(L5SwaggerException::class);

        l5_swagger_asset('default', 'asdasd');
    }
}