Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function testReceiveResetServices() |
||
13 | { |
||
14 | $message = new \stdClass(); |
||
15 | |||
16 | $resetter = $this->createMock(ServicesResetter::class); |
||
17 | $resetter->expects($this->once())->method('reset'); |
||
18 | |||
19 | $next = $this->createMock(NextInterface::class); |
||
20 | $next->expects($this->once())->method('receive')->with($message, $next); |
||
21 | |||
22 | $receiver = new ResetServices($resetter); |
||
23 | $receiver->receive($message, $next); |
||
24 | } |
||
26 |