generate(); // Don't actually compare these values with assertEqual(), since the diff // isn't helpful and is often enormously huge. $maps_are_identical = ($new_map->getNameMap() === $old_map->getNameMap()) && ($new_map->getSymbolMap() === $old_map->getSymbolMap()) && ($new_map->getRequiresMap() === $old_map->getRequiresMap()) && ($new_map->getPackageMap() === $old_map->getPackageMap()); $this->assertTrue( $maps_are_identical, pht( 'When this test fails, it means the Celerity resource map is out '. 'of date. Run `%s` to rebuild it.', 'bin/celerity map')); } } }