@Test
public void testParse() throws IOException, ResourceFilterException {

    assertTrue("The input test file <" + INPUT + "> does not exist.", INPUT.exists());
    try (InputStream is = new FileInputStream(INPUT)) {
        LanguageBundle bundle = res.parse(is, null);
        List<ResourceString> resStrList = new ArrayList<>(bundle.getResourceStrings());
        Collections.sort(resStrList, new ResourceStringComparator());
        assertEquals("ResourceStrings did not match.", EXPECTED_INPUT_RES_LIST, resStrList);
        List<String> globalNotes = bundle.getNotes();
        assertEquals("Global comments did not match.", EXPECTED_GLOBAL_NOTES, globalNotes);
    }
}