@Test public void testAcceptWithProjectImportsFile() { doReturn(ObservableProjectImportsFile.FILENAME).when(path).getFileName(); assertTrue(observer.accept(path)); }
@Override public boolean accept(final Path path) { final String fileName = path.getFileName(); return fileName.equals(FILENAME); }
ObservableProjectImportsFile implements ResourceChangeObservableFile { @Override public boolean accept(final Path path) { final String fileName = path.getFileName(); return fileName.equals(FILENAME); } }
ObservableProjectImportsFile implements ResourceChangeObservableFile { @Override public boolean accept(final Path path) { final String fileName = path.getFileName(); return fileName.equals(FILENAME); }  }
ObservableProjectImportsFile implements ResourceChangeObservableFile { @Override public boolean accept(final Path path) { final String fileName = path.getFileName(); return fileName.equals(FILENAME); }  @Override boolean accept(final Path path); }
ObservableProjectImportsFile implements ResourceChangeObservableFile { @Override public boolean accept(final Path path) { final String fileName = path.getFileName(); return fileName.equals(FILENAME); }  @Override boolean accept(final Path path);  }