public Print() {
    this("\n");
  }
@Test
  public void testPrint() throws IOException {
    Print print = new Print();
    PrintStream out = mock(PrintStream.class);
    FindOptions options = new FindOptions();
    options.setOut(out);
    print.setOptions(options);

    String filename = "/one/two/test";
    PathData item = new PathData(filename, mockFs.getConf());
    assertEquals(Result.PASS, print.apply(item, -1));
    verify(out).print(filename + '\n');
    verifyNoMoreInteractions(out);
  }