@Test
public void updateTeam() throws Exception {

	mockServer.expect(requestTo("https://api.github.com/teams/1")).andExpect(method(HttpMethod.PATCH))
			.andExpect(content().contentType(MediaType.APPLICATION_JSON))
			// .andExpect(header("Authorization", "Bearer ACCESS_TOKEN"))
			.andRespond(withSuccess(new ClassPathResource("getTeam.json", getClass()), MediaType.APPLICATION_JSON));
	Team team = teamsTemplate.updateTeam(1, new TeamRequest("Justice League"));
	Assertions.assertThat(team).isNotNull();
	Assertions.assertThat(team.getId()).isEqualTo(1);
	Assertions.assertThat(team.getName()).isEqualTo("Justice League");
}