if (currentTestCaseSourceCode != null) {
testCodeString = testCaseGenerator.getTestCaseSourceCodeWithLackingTestMethod(
currentTestCaseSourceCode);
if (!testCodeString.equals(currentTestCaseSourceCode)) {
Stdout.p(" Modified: " + testFile.getAbsolutePath());
new CommonsIOFileWriter(testFile).writeText(testCodeString);
}
} else {
testCodeString = testCaseGenerator.getNewTestCaseSourceCode();
Stdout.p(" Created: " + testFile.getAbsolutePath());
new CommonsIOFileWriter(testFile).writeText(testCodeString);
}
}
}