### Question:
SVNBranchConfigurationProperty { @JsonIgnore public String getCuredBranchPath() { String trim = StringUtils.trim(branchPath); if ("/".equals(trim)) { return trim; } else { return StringUtils.stripEnd(trim, "/"); } } SVNBranchConfigurationProperty(String branchPath, ServiceConfiguration buildRevisionLink); @JsonIgnore String getCuredBranchPath();  }### Answer:
@Test public void cured_path_slash() { assertEquals("/", new SVNBranchConfigurationProperty(" / ", null).getCuredBranchPath()); }
@Test public void cured_path_trunk() { assertEquals("/trunk", new SVNBranchConfigurationProperty(" /trunk/ ", null).getCuredBranchPath()); }
@Test public void cured_path_project_trunk() { assertEquals("/project/trunk", new SVNBranchConfigurationProperty(" /project/trunk/ ", null).getCuredBranchPath()); }
@Test public void cured_path_branch() { assertEquals("/branches/xxx", new SVNBranchConfigurationProperty(" /branches/xxx/ ", null).getCuredBranchPath()); }
@Test public void cured_path_project_branch() { assertEquals("/project/branches/xxx", new SVNBranchConfigurationProperty(" /project/branches/xxx/ ", null).getCuredBranchPath()); }