| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | |||
| 16 | public function testGetWebService(): void |
||
| 17 | { |
||
| 18 | $wsA = Mockery::mock(WebServiceInterface::class); |
||
| 19 | $wsB = Mockery::mock(WebServiceInterface::class); |
||
| 20 | |||
| 21 | $factory = Mockery::mock(WebServiceFactoryInterface::class); |
||
| 22 | $factory->shouldReceive('createWebService')->twice()->andReturn($wsA, $wsB); |
||
| 23 | |||
| 24 | $config = new Config('42'); |
||
| 25 | |||
| 36 |