assertEquals(2055, numberPrograms);
}
@Test
public void testPushDownMethodSetMaximumNumberofPrograms() {
JDolly jdolly = new JDollyImp("alloyTheory/pushdownmethod_final.als",2, 3, 4);
jdolly.setExactMaxPackages(true);
jdolly.setMaxMethodNames(3);
jdolly.setExactMaxMethodNames(true);
jdolly.setMaximumPrograms(10);
int numberPrograms = TestUtil.countSolutions(jdolly, false);
assertEquals(10, numberPrograms);
}