| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | public function testCreate() :void |
||
| 16 | { |
||
| 17 | $containerMock = $this->createMock(ContainerInterface::class); |
||
| 18 | $containerMock->expects(self::once()) |
||
| 19 | ->method('get') |
||
| 20 | ->with(self::stringContains(ObjectService::class)) |
||
| 21 | ->willReturn($this->createMock(ObjectServiceInterface::class)); |
||
| 22 | |||
| 23 | $factory = new TaxRateManagerFactory(); |
||
| 24 | $result = $factory($containerMock, 'test'); |
||
| 25 | self::assertInstanceOf(TaxRateManagerInterface::class, $result); |
||
| 26 | } |
||
| 27 | } |
||
| 28 |