PropertyAccessorFileUtilities { public void setPropertyFileLocation(String propertyFileDirAbsolutePath) { this.propertyFileDirAbsolutePath = addFileSeparatorSuffix(propertyFileDirAbsolutePath); } PropertyAccessorFileUtilities(); String getPropertyFileLocation(); String getPropertyFileLocation(String propertyFile); void setPropertyFileLocation(String propertyFileDirAbsolutePath); String getPropertyFileURL(); Properties loadPropertyFile(String propertyFilename); Properties loadPropertyFile(File propertyFile);  }
@Test public void testSetPropertyFileLocation() { PropertyAccessorFileUtilities fileUtilities = createPropertyAccessorFileUtilities(); fileUtilities.setPropertyFileLocation("/test"); assertTrue(fileUtilities.getPropertyFileLocation().endsWith(File.separator)); }