public void testDebugDirectoryWithoutSlash() throws Exception {
String xml = "<pipeline-configuration>" +
" <debug-output directory=\"dir\"/>" +
"</pipeline-configuration>";
TestXmlConfigurationBuilder configBuilder =
new TestXmlConfigurationBuilder(xml);
MarinerConfiguration marinerConfig = configBuilder.buildConfiguration();
// ensure that File.separator has not been appended to debug directory
assertEquals("debug directory is incorrect",
"dir" ,
marinerConfig.getPipelineConfiguration().
getDebugOutputDirectory());