public function testLocationMovedHistorize()
{
$handler = $this->getHandler();
$this->insertDatabaseFixture(__DIR__ . '/_fixtures/urlaliases_move.php');
$handler->publishUrlAliasForLocation(4, 3, 'move-this', 'eng-GB', false);
$handler->locationMoved(4, 2, 3);
$urlAlias = $handler->lookup('move-this');
self::assertEquals(new UrlAlias(array('id' => '0-' . md5('move-this'), 'type' => UrlAlias::LOCATION, 'destination' => '4', 'languageCodes' => array('eng-GB'), 'pathData' => array(array('always-available' => false, 'translations' => array('eng-GB' => 'move-this'))), 'alwaysAvailable' => false, 'isHistory' => true, 'isCustom' => false, 'forward' => false)), $urlAlias);
}