@Override
    public boolean accept(final Path source, final Local local, final TransferStatus parent) {
        return true;
    }
@Test
    public void testAcceptDirectoryNew() throws Exception {
        final HashMap<Path, Path> files = new HashMap<>();
        final Path source = new Path("a", EnumSet.of(Path.Type.directory));
        files.put(source, new Path("a", EnumSet.of(Path.Type.directory)));
        AbstractCopyFilter f = new OverwriteFilter(new NullSession(new Host(new TestProtocol())),
                new NullSession(new Host(new TestProtocol())), files);
        assertTrue(f.accept(source, null, new TransferStatus()));
    }