@Test
public void testAcceptShouldReturnFalseWhenParameterIsNotFile() {

    //GIVEN
    given(file.isFile()).willReturn(false);
    //WHEN
    boolean result = underTest.accept(file);
    //THEN
    verify(file).isFile();
    assertFalse(result);
}