@Override
  public boolean apply(InputFile f) {
    if (path == null) {
      return false;
    }

    return path.equals(f.relativePath());
  }
@Test
  public void returns_true_if_matches() {
    RelativePathPredicate predicate = new RelativePathPredicate("path");
    InputFile inputFile = mock(InputFile.class);
    when(inputFile.relativePath()).thenReturn("path");
    assertThat(predicate.apply(inputFile)).isTrue();
  }