Neos\Flow\Tests\Unit\Mvc\Routing\DynamicRoutePartTest::resolveValueReturnsTrueIfTheValueToBeResolvedIsAnObjectWithANumericIdentifier PHP Method

resolveValueReturnsTrueIfTheValueToBeResolvedIsAnObjectWithANumericIdentifier() public method

    public function resolveValueReturnsTrueIfTheValueToBeResolvedIsAnObjectWithANumericIdentifier()
    {
        $object = new \stdClass();
        $this->mockPersistenceManager->expects($this->once())->method('getIdentifierByObject')->with($object)->will($this->returnValue(123));
        $this->assertTrue($this->dynamicRoutPart->_call('resolveValue', $object));
    }
DynamicRoutePartTest