@Test
public void testEncrypted() throws IOException, SAXException {

  String inpFile = TestFileUtils.getTestInputFile(testdataDirectory, "functions", "encryptedTest.jsm");
  ModuleReaderIF modReader = new ModuleReader(true);
  Map funcs = modReader.read(StreamUtils.getInputStream(inpFile));
  Assert.assertTrue("Could not retrieve correct number of functions from encrypted module file",
             funcs.size() == 1);
  
  Assert.assertTrue("Could not retrieve function 'names' from encrypted module file",
             funcs.containsKey("names"));
  
  Assert.assertTrue("Object is not instance of FunctionIF.",
             funcs.get("names") instanceof FunctionIF); 
}