private void checkJarDependencies(File jar) throws ModuleNotFoundException {
try{
ArrayList<File> jars = new ArrayList<File>(1);
jars.add(jar);
ClassPath classPath = new Main.ClassPath(jars);
Module module = classPath.loadModule("foo.foo", "1");
assertNotNull(module);
assertEquals("foo.foo", module.name());
assertEquals("1", module.version());
assertEquals(3, module.dependencies.size());
assertTrue(module.dependencies.contains(new ClassPath.Dependency("a.a", "1", false, false)));