@Test
public void createIssue() throws Exception {

	mockServer.expect(requestTo("https://api.github.com/repos/klaus/simple/issues"))
			.andExpect(method(HttpMethod.POST)).andExpect(content().contentType(MediaType.APPLICATION_JSON))
			// .andExpect(header("Authorization", "Bearer ACCESS_TOKEN"))
			.andRespond(
					withSuccess(new ClassPathResource("createIssue.json", getClass()), MediaType.APPLICATION_JSON));
	Issue issue = issuesTemplate.createIssue(new IssueRequest("issueTitle"), "klaus", "simple");
	Assertions.assertThat(issue).isNotNull();
	Assertions.assertThat(issue.getId()).isEqualTo(1);
}