void (JavaModuleFixtureBuilder moduleBuilder) { moduleBuilder.setMockJdkLevel(JavaModuleFixtureBuilder.MockJdkLevel.jdk15); moduleBuilder.addLibrary("junit", PathUtil.getJarPathForClass(TestCase.class)); moduleBuilder.addLibrary("testng", PathUtil.getJarPathForClass(AfterMethod.class)); }