| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 23 | public function testCheck(): void  | 
            ||
| 24 |     { | 
            ||
| 25 |         $result = new Success('Test check', 'OK'); | 
            ||
| 26 | |||
| 27 | $backend = $this->createMock(BackendInterface::class);  | 
            ||
| 28 |         $backend->expects($this->once())->method('getStatus')->willReturn($result); | 
            ||
| 29 | |||
| 30 | $health = new BackendHealthCheck($backend);  | 
            ||
| 31 | |||
| 32 | $this->assertSame($result, $health->check());  | 
            ||
| 33 | }  | 
            ||
| 34 | }  | 
            ||
| 35 |