| 1 | <?php |
||
| 13 | abstract class AbstractMockingStrategy implements MockingStrategyInterface |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var string |
||
| 17 | */ |
||
| 18 | private $mockType; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $fqcn |
||
| 22 | */ |
||
| 23 | 13 | final protected function setMockType(string $fqcn) |
|
| 27 | |||
| 28 | /** |
||
| 29 | * @param object $mock |
||
| 30 | * |
||
| 31 | * @throws NotImplementedException |
||
| 32 | * @throws InvalidArgumentException |
||
| 33 | */ |
||
| 34 | 20 | final protected function checkMockType($mock) |
|
| 50 | } |
||
| 51 |