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

convertFromShouldThrowExceptionIfMoreThanOneObjectWasFound() public method

    public function convertFromShouldThrowExceptionIfMoreThanOneObjectWasFound()
    {
        $this->setupMockQuery(2, $this->never());
        $source = ['__identity' => ['key1' => 'value1', 'key2' => 'value2']];
        $this->converter->convertFrom($source, 'SomeType');
    }