@Test
public void testIsExtensionForFilenameExtensions() throws Exception {

    String[] extensions = {"txt", "js"};
    assertEquals( true, FilenameUtils.isExtension("C:\\a\\b\\c.txt", extensions));
}