public function testRemoveAliasesThrowsInvalidArgumentException() { $aliasList = array(new UrlAlias(array('isCustom' => false))); $mockedService = $this->getPartlyMockedURLAliasServiceService(); $mockedService->removeAliases($aliasList); }