| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 11 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 30 | public function testSetServiceSettings()  | 
            ||
| 31 |     { | 
            ||
| 32 | $failureRateThreshold = 20;  | 
            ||
| 33 | |||
| 34 |         CircuitBreaker::setServiceSettings('my-service', [ | 
            ||
| 35 | 'failureRateThreshold' => $failureRateThreshold,  | 
            ||
| 36 | ]);  | 
            ||
| 37 | |||
| 38 |         $serviceSetting = CircuitBreaker::getServiceSetting('my-service', 'failureRateThreshold'); | 
            ||
| 39 | |||
| 40 | $this->assertEquals($failureRateThreshold, $serviceSetting);  | 
            ||
| 41 | }  | 
            ||
| 50 |