eZ\Publish\Core\Persistence\Legacy\Tests\Content\UrlAlias\UrlAliasMapperTest::getExpectation PHP Method

getExpectation() protected method

protected getExpectation ( )
    protected function getExpectation()
    {
        return array(0 => new UrlAlias(array('id' => '1-f97c5d29941bfb1b2fdab0874906ab82', 'type' => UrlAlias::LOCATION, 'destination' => 314, 'pathData' => array(array('always-available' => false, 'translations' => array('eng-US' => 'root_us', 'eng-GB' => 'root_gb')), array('always-available' => false, 'translations' => array('eng-GB' => 'one'))), 'languageCodes' => array('eng-GB'), 'alwaysAvailable' => true, 'isHistory' => false, 'isCustom' => true, 'forward' => false)), 1 => new UrlAlias(array('id' => '2-b8a9f715dbb64fd5c56e7783c6820a61', 'type' => UrlAlias::LOCATION, 'destination' => 314, 'pathData' => array(array('always-available' => true, 'translations' => array('eng-US' => 'two'))), 'languageCodes' => array('eng-US'), 'alwaysAvailable' => true, 'isHistory' => true, 'isCustom' => false, 'forward' => false)), 2 => new UrlAlias(array('id' => '0-35d6d33467aae9a2e3dccb4b6b027878', 'type' => UrlAlias::RESOURCE, 'destination' => 'content/search', 'pathData' => array(array('always-available' => false, 'translations' => array('eng-US' => 'three', 'eng-GB' => 'three'))), 'languageCodes' => array('eng-US', 'eng-GB'), 'alwaysAvailable' => false, 'isHistory' => false, 'isCustom' => true, 'forward' => true)), 3 => new UrlAlias(array('id' => '3-8cbad96aced40b3838dd9f07f6ef5772', 'type' => UrlAlias::VIRTUAL, 'destination' => null, 'pathData' => array(array('always-available' => true, 'translations' => array('always-available' => 'four'))), 'languageCodes' => array(), 'alwaysAvailable' => true, 'isHistory' => true, 'isCustom' => false, 'forward' => false)));
    }