| 1 | <?php |
||
| 13 | class TypedObjectDeserializerTest extends \PHPUnit\Framework\TestCase { |
||
| 14 | |||
| 15 | private const DEFAULT_TYPE_KEY = 'objectType'; |
||
| 16 | private const DUMMY_TYPE_VALUE = 'someType'; |
||
| 17 | |||
| 18 | public function testGivenDefaultObjectKey_isDeserializerForReturnsTrue() { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $typeKey |
||
| 25 | * @return TypedObjectDeserializer |
||
| 26 | */ |
||
| 27 | private function newMockDeserializer( $typeKey = self::DEFAULT_TYPE_KEY ) { |
||
| 36 | |||
| 37 | private function newStubSerializationWithTypeKey( $typeKey ) { |
||
| 40 | |||
| 41 | public function testGivenUnknownObjectKey_isDeserializerForReturnsFalse() { |
||
| 45 | |||
| 46 | public function testGivenSpecifiedObjectKey_isDeserializerForReturnsTrue() { |
||
| 53 | |||
| 54 | } |
||
| 55 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.