| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 7 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php namespace Chekote\Phake\Stubber\Answers;  | 
            ||
| 14 | public function getAnswerCallback($context, $method)  | 
            ||
| 15 |     { | 
            ||
| 16 | $class = get_parent_class($context);  | 
            ||
| 17 | |||
| 18 |         return function () use ($class, $method) { | 
            ||
| 19 | throw new UnMockedResponseException(  | 
            ||
| 20 | "$class::$method was called on mock without having its response mocked"  | 
            ||
| 21 | );  | 
            ||
| 32 |