SimpleStagingService implements StagingService { @Override public File getStagingDir() { return stagingDir; } SimpleStagingService(File stagingDir, int numParallelJobs); @Override File getStagingDir(); @Override void submitStaging(Staging staging); @Override void deleteTree(String path); @Override void close(); @Override void setProductionService(Observable productionService); @Override Observable getProductionService();  }
@Test public void testGetStagingAreaPath() throws IOException { SimpleStagingService stagingService = new SimpleStagingService(new File("/foo/bar/buz"), 1); assertEquals(new File("/foo/bar/buz").getAbsoluteFile(), stagingService.getStagingDir()); }