@Test
public void testEquals() {

    File diffFile = mock(File.class);
    when(diffFile.isFile()).thenReturn(Boolean.TRUE);
    FileTaskOutput eq1 = new FileTaskOutput(file);
    FileTaskOutput eq2 = new FileTaskOutput(file);
    FileTaskOutput eq3 = new FileTaskOutput(file);
    FileTaskOutput diff = new FileTaskOutput(diffFile);
    TestUtils.testEqualsAndHashCodes(eq1, eq2, eq3, diff);
}