+ " added public method in it.",
difference.getDMElement().equals(dmClass));
}
public void testIntegratedCheck() throws Exception {
MoDi modi = new MoDi();
String modelRoot = "src/test/testdata/addedPublicMethodsInImplementingClasses/";
modi.findArchitectsModelFiles(MoDi.ImportHandler.FILESYSTEM,
modelRoot + "am", "java");
modi.findDevelopersModelFiles(MoDi.ImportHandler.FILESYSTEM,
modelRoot + "dm", "java");
modi.transformArchitectsModel(MoDi.Language.JAVA);
modi.transformDevelopersModel(MoDi.Language.JAVA);
List<IDifference> differences
= addedPublicMethodsInImplementingClasses.check(null);
assertNotNull("The check method must not return null", differences);