assertFalse(localizedStrings.contains(ukString));
assertTrue(localizedStrings.contains(caString));
}
public void testRemoveLocalizedStrings() throws JAXRException {
InternationalString is = new InternationalStringImpl();
is.addLocalizedString(usString);
is.addLocalizedString(ukString);
is.addLocalizedString(caString);
assertEquals(3, is.getLocalizedStrings().size());
Collection localizedStrings = new ArrayList();
localizedStrings.add(usString);
localizedStrings.add(caString);
is.removeLocalizedStrings(localizedStrings);
localizedStrings = is.getLocalizedStrings();
assertEquals(1, localizedStrings.size());
assertFalse(localizedStrings.contains(usString));
assertTrue(localizedStrings.contains(ukString));
assertFalse(localizedStrings.contains(caString));
}