### Question:
I18nProps extends Object { public Properties getTranslateableProperties() { String name; if(null == _entryName) { name = _file.getName(); } else { if(-1 == _entryName.lastIndexOf(File.separator)) { name = _entryName; } else { name = _entryName.substring(_entryName.lastIndexOf(File.separator)); } } if(name.startsWith("I18nStrings")) { return getProperties(); } else { Properties ret = getProperties(); for(Enumeration e=ret.keys(); e.hasMoreElements();) { String key = (String) e.nextElement(); if(key.endsWith(".image") || key.endsWith(".rolloverimage") || key.endsWith(".disabledimage") || key.endsWith(".frameIcon") || key.endsWith(".file") || key.endsWith(".images") || key.endsWith(".accelerator") || key.equals("path.defaults") ) { ret.remove(key); } if(key.endsWith(".noi18n") && ret.getProperty(key).equalsIgnoreCase("true")) { ret.remove(key); ret.remove(key.substring(0, key.length() - ".noi18n".length())); } } return ret; } } I18nProps(File file, URL[] sourceUrls);  I18nProps(File zipFile, String entryName, URL[] sourceUrls); String getPath(); String getName(); void removeProps(Properties toRemoveFrom); void copyTo(File toCopyTo); String getLocalizedFileName(Locale loc); String getUnlocalizedPath(Locale loc); static Locale parseLocaleFromPropsFileName(String propsFileName); Properties getTranslateableProperties();  }### Answer:
@Test public void testGetTranslateableProperties_Bug1787731() { propsUnderTest.getTranslateableProperties(); }