public function convertFromShouldThrowExceptionIfIdentityIsOfInvalidType() { $source = ['__identity' => new \stdClass()]; $this->converter->convertFrom($source, 'SomeType'); }