| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 18 | 
| Code Lines | 13 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 18 | public function testHandle()  | 
            ||
| 19 |     { | 
            ||
| 20 | $this  | 
            ||
| 21 | ->given($config = ['my' => ['awesome' => 'config']])  | 
            ||
| 22 | ->and($indices = $this->newIndices())  | 
            ||
| 23 | ->and($client = $this->newClient($indices))  | 
            ||
| 24 | ->and($this->newTestedInstance())  | 
            ||
| 25 | ->if($this->testedInstance->handle($client, 'my_index'))  | 
            ||
| 26 | ->then  | 
            ||
| 27 | ->mock($indices)  | 
            ||
| 28 |                     ->call('delete') | 
            ||
| 29 | ->withArguments([  | 
            ||
| 30 | 'index' => 'my_index',  | 
            ||
| 31 | ]  | 
            ||
| 32 | )  | 
            ||
| 33 | ->once()  | 
            ||
| 34 | ;  | 
            ||
| 35 | }  | 
            ||
| 36 | |||
| 59 |