@Test
public void testDoNotNeedToApplyUpgrade() throws IOException {

    // given
    Assert.assertTrue(new File(task.oldRoot).exists());
    File newRootDirectory = new File(task.newRoot);
    if (!newRootDirectory.exists()) {
        FileUtils.forceMkdir(newRootDirectory);
        Assert.assertTrue(newRootDirectory.exists());
    }
    // when
    // then
    Assert.assertFalse(task.haveToBeApply());
}