public void switchingToANewFileModificationServiceDoesntBreakExistingFileModifiedCheckers() {
File someDir = new File(tmpDir, "temp");
someDir.mkdir();
BRJSFileInfo brjsFileInfo = new BRJSFileInfo(someDir, fileModificationService, null, null);
FileModifiedChecker fileModifiedChecker = new InfoFileModifiedChecker(brjsFileInfo);
assertTrue(fileModifiedChecker.hasChangedSinceLastCheck());
assertTrue(fileModifiedChecker.hasChangedSinceLastCheck());
brjsFileInfo.reset(fileModificationService);
assertTrue(fileModifiedChecker.hasChangedSinceLastCheck());
assertTrue(fileModifiedChecker.hasChangedSinceLastCheck());
}