Neos\Flow\Tests\Unit\Property\TypeConverter\PersistentObjectConverterTest::convertFromShouldThrowExceptionIfIdentityIsOfInvalidType PHP Method

convertFromShouldThrowExceptionIfIdentityIsOfInvalidType() public method

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