@Test public void itShouldReturnUrlToGivenDivision(){ int someDivisionId = 123; String actualUrl = linksBuilder.urlToCcDivision(someDivisionId); assertTrue(actualUrl.endsWith("/api/ccDivisions/"+someDivisionId)); }
public String urlToCcDivision(long divisionId){ return urlToElement(CcDivisionController.class, divisionId); }
LinksBuilder { public String urlToCcDivision(long divisionId){ return urlToElement(CcDivisionController.class, divisionId); } }
LinksBuilder { public String urlToCcDivision(long divisionId){ return urlToElement(CcDivisionController.class, divisionId); }  }
LinksBuilder { public String urlToCcDivision(long divisionId){ return urlToElement(CcDivisionController.class, divisionId); }  String urlToJudgment(long judgmentId); Link linkToJudgment(long judgmentId); String urlToCcDivision(long divisionId); Link linkToCcDivision(long divisionId); String urlToScDivision(long divisionId); Link linkToScDivision(long divisionId); Link linkToScDivision(long divisionId, String relName); String urlToScChamber(long chamberId); Link linkToScChamber(long chamberId); Link linkToScChamber(long chamberId, String relName); String urlToCommonCourt(long courtId); Link linkToCommonCourt(long courtId); Link linkToCommonCourt(long courtId, String relName); }
LinksBuilder { public String urlToCcDivision(long divisionId){ return urlToElement(CcDivisionController.class, divisionId); }  String urlToJudgment(long judgmentId); Link linkToJudgment(long judgmentId); String urlToCcDivision(long divisionId); Link linkToCcDivision(long divisionId); String urlToScDivision(long divisionId); Link linkToScDivision(long divisionId); Link linkToScDivision(long divisionId, String relName); String urlToScChamber(long chamberId); Link linkToScChamber(long chamberId); Link linkToScChamber(long chamberId, String relName); String urlToCommonCourt(long courtId); Link linkToCommonCourt(long courtId); Link linkToCommonCourt(long courtId, String relName);  }