void () { myMappingSettings.addMapping("C:/testPrj/src/test", "/web-project/foo"); myMappingSettings.addMapping("C:/testPrj/src/", "/web-project/"); Assert.assertEquals("/web-project/foo", myMappingSettings.convertToRemote("C:/testPrj/src/test")); Assert.assertEquals("/web-project", myMappingSettings.convertToRemote("C:/testPrj/src")); Assert.assertEquals("/web-project/foo/", myMappingSettings.convertToRemote("C:/testPrj/src/test/")); Assert.assertEquals("/web-project/", myMappingSettings.convertToRemote("C:/testPrj/src/")); Assert.assertEquals("/web-project/tests.php", myMappingSettings.convertToRemote("C:/testPrj/src/tests.php")); Assert.assertEquals("/web-project/foo/info.php", myMappingSettings.convertToRemote("C:/testPrj/src/test/info.php")); }