producer = new ResourceProducer("tester");
}
@Test
public void testDefaults() {
final Resource resource = producer.apply(new ResourceConfiguration().setSource(source).setTarget("/tmp/test"));
assertNotNull(resource);
assertEquals("tester", resource.getUser());
assertEquals(TarEntry.DEFAULT_FILE_MODE, resource.getMode());
assertTrue(resource.isFilter());
}