TeamsTemplate extends AbstractGithubTemplate implements TeamsOperations { @Override public void deleteTeam(long teamId) { Map<String, Object> uriVariables = new HashMap<>(); uriVariables.put("teamid", teamId); getRestOperations().delete(buildUri("/teams/{teamid}", uriVariables)); } TeamsTemplate(RestOperations restOperations, GithubApiUriUtil uriUtil);  TeamsTemplate(RestOperations restOperations); @Override List<Team> listTeams(String organization); @Override Team getTeam(long teamId); @Override Team createTeam(String organization, TeamRequest teamRequest); @Override Team updateTeam(long teamId, TeamRequest teamRequest); @Override void deleteTeam(long teamId);  }
@Test public void deleteTeam() throws Exception { mockServer.expect(requestTo("https: .andRespond(withNoContent()); teamsTemplate.deleteTeam(1); }