@Test
public void testJSPImportParser () throws Exception { 

  InputStream helloImport = getClass().getClassLoader().getResourceAsStream("JSPs/helloImport.jsp");
  Collection<String> imports = JSPImportParser.getImports(helloImport);
  assertTrue("Four imports expected", imports.size() == 4);
  assertTrue(imports.contains("javax.jms"));
  assertTrue(imports.contains("javax.mystuff"));
  assertTrue(imports.contains("javax.transaction"));
  assertTrue(imports.contains("a.b"));
  assertFalse(imports.contains("java.util"));
}