Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | public function testRunExecutePopulate() |
||
17 | { |
||
18 | $provider = $this->getMockForAbstractClass(DataProvider::class); |
||
19 | |||
20 | $provider |
||
21 | ->expects($this->once()) |
||
22 | ->method('populate') |
||
23 | ; |
||
24 | |||
25 | $provider->run( |
||
26 | $this->getClient(), |
||
27 | 'index', |
||
28 | 'type', |
||
29 | $this->getMock(EventDispatcherInterface::class) |
||
30 | ); |
||
31 | } |
||
32 | |||
124 | } |
Our type inference engine in quite powerful, but sometimes the code does not provide enough clues to go by. In these cases we request you to add a
@return
annotation as described here.