void () { final String path = "/a/b/c"; myMockLocalFileSystem.add(path); myNewMappings.setMapping("", ourVcsName); myNewMappings.setMapping(path, ourVcsName); // add twice -> nothing happens myNewMappings.setMapping(path, ourVcsName); }