void () { myMappingSettings.addMapping("c:/pythonsources/src", "/home/testPrj/"); if (SystemInfo.isWindows) { Assert.assertEquals(REMOTE_PATH_TO_FILE, myMappingSettings.convertToRemote(LOCAL_PATH_TO_FILE)); } else { Assert.assertEquals(LOCAL_PATH_TO_FILE, myMappingSettings.convertToRemote(LOCAL_PATH_TO_FILE)); //don't convert } }