public void test_of_list() { PropertiesFile test = PropertiesFile.of(CharSource.wrap(FILE2)); Multimap<String, String> keyValues = ImmutableListMultimap.of("a", "x", "a", "y"); assertEquals(test.getProperties(), PropertySet.of(keyValues)); assertEquals(test.toString(), "{a=[x, y]}"); }
public boolean hasUnlockedLoader() { if (_entry.getProperties().containsKey("loader_unlocked")) { return (_entry.getProperties().getProperty("loader_unlocked").length() > 0); } else return false; }