| Conditions | 1 |
| Paths | 1 |
| Total Lines | 23 |
| Code Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 35 | public function testHandlerRunEveryProviders() |
||
| 36 | { |
||
| 37 | $this->registry |
||
| 38 | ->add( |
||
| 39 | new RegistryEntry( |
||
| 40 | $this->createProviderExpectingRun('my_index', 'my_type'), |
||
| 41 | 'my_index', |
||
| 42 | 'my_type' |
||
| 43 | ) |
||
| 44 | ) |
||
| 45 | ->add( |
||
| 46 | new RegistryEntry( |
||
| 47 | $this->createProviderExpectingRun('my_index', 'my_type_2'), |
||
| 48 | 'my_index', |
||
| 49 | 'my_type_2' |
||
| 50 | ) |
||
| 51 | ) |
||
| 52 | ; |
||
| 53 | |||
| 54 | $handler = new Handler($this->registry, $this->dispatcher); |
||
| 55 | |||
| 56 | $handler->handle($this->client, 'my_index', null); |
||
| 57 | } |
||
| 58 | |||
| 75 |