eZ\Publish\Core\MVC\Symfony\Matcher\Tests\ContentBased\Matcher\Identifier\ContentTypeTest::generateLocationMock PHP Метод

generateLocationMock() приватный Метод

Generates a Location object in respect of a given content type identifier.
private generateLocationMock ( ) : PHPUnit_Framework_MockObject_MockObject
Результат PHPUnit_Framework_MockObject_MockObject
    private function generateLocationMock()
    {
        $location = $this->getLocationMock();
        $location->expects($this->any())->method('getContentInfo')->will($this->returnValue($this->getContentInfoMock(array('contentTypeId' => 42))));
        return $location;
    }