@Test
public void shouldUseDefaultSeparators() throws Exception
{

    PlatformSeparators separators = PlatformSeparators.autoDetect();
    ClassPath          path       = new ClassPath("foo.jar", "bar.jar");
    assertThat(path.toString(separators), is("foo.jar" + separators.getPathSeparator() + "bar.jar"));
}