}
public void ignoreWindowsExternalize() throws Exception {
// As Java doesn't like '\' alone in Strings I have to replace them on the fly :'(
// Grrr doesn't work as expected
ResourceMapper delegate = mock(ResourceMapper.class);
FileSystemResourceMapper mapper = new FileSystemResourceMapper(delegate);
String path = "c:\\this\\is\\a\\windows\\like\\path.extension";
when(delegate.externalize(eq(path))).thenReturn(path);
String expected = "c:/this/is/a/windows/like/path.extension";
String result = mapper.externalize(path);
// unix path is already normalized