@Override
  public boolean apply(InputFile inputFile) {
    return filename.equals(inputFile.filename());
  }
@Test
  public void should_not_match_file_by_different_filename() {
    String filename = "some name";
    InputFile inputFile = mock(InputFile.class);
    when(inputFile.filename()).thenReturn(filename + "x");

    assertThat(new FilenamePredicate(filename).apply(inputFile)).isFalse();
  }