| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 24 | 
| Code Lines | 15 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 2 | ||
| Bugs | 1 | Features | 0 | 
| 1 | <?php  | 
            ||
| 15 | public function testGetProvidersEmptyIfNoProviders()  | 
            ||
| 16 |     { | 
            ||
| 17 | $provider = $this->getMock(DataProvider::class);  | 
            ||
| 18 | |||
| 19 | $testedInstance = new RegistryEntry(  | 
            ||
| 20 | $provider,  | 
            ||
| 21 | 'my_index',  | 
            ||
| 22 | 'my_type'  | 
            ||
| 23 | );  | 
            ||
| 24 | |||
| 25 | $this->assertEquals(  | 
            ||
| 26 | $provider,  | 
            ||
| 27 | $testedInstance->getProvider()  | 
            ||
| 28 | );  | 
            ||
| 29 | |||
| 30 | $this->assertEquals(  | 
            ||
| 31 | 'my_index',  | 
            ||
| 32 | $testedInstance->getIndex()  | 
            ||
| 33 | );  | 
            ||
| 34 | $this->assertEquals(  | 
            ||
| 35 | 'my_type',  | 
            ||
| 36 | $testedInstance->getType()  | 
            ||
| 37 | );  | 
            ||
| 38 | }  | 
            ||
| 39 | |||
| 69 |