Neos\Flow\Tests\Unit\Persistence\AbstractPersistenceManagerTest::convertObjectToIdentityArrayThrowsExceptionIfIdentityForTheGivenObjectCantBeDetermined PHP Method

convertObjectToIdentityArrayThrowsExceptionIfIdentityForTheGivenObjectCantBeDetermined() public method

    public function convertObjectToIdentityArrayThrowsExceptionIfIdentityForTheGivenObjectCantBeDetermined()
    {
        $someObject = new \stdClass();
        $this->abstractPersistenceManager->expects($this->once())->method('getIdentifierByObject')->with($someObject)->will($this->returnValue(null));
        $this->abstractPersistenceManager->convertObjectToIdentityArray($someObject);
    }