Total Complexity | 4 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
10 | final class DocBlockResolverCustomServicesAwareTest extends TestCase |
||
11 | { |
||
12 | protected function setUp(): void |
||
13 | { |
||
14 | Gacela::bootstrap(__DIR__); |
||
15 | } |
||
16 | |||
17 | public function test_existing_service(): void |
||
23 | } |
||
24 | |||
25 | public function test_service_as_interface(): void |
||
26 | { |
||
27 | $dummy = new DummyDocBlockResolverAware(); |
||
28 | $actual = $dummy->getService()->getName(); |
||
29 | |||
30 | self::assertSame('fake-service.name', $actual); |
||
31 | } |
||
32 | |||
33 | public function test_non_existing_service(): void |
||
39 | } |
||
40 | } |
||
41 |