@Test
public void createStatuses() throws Exception {

	mockServer.expect(requestTo("https://api.github.com/repos/zalando-stups/blub/statuses/abcdefgh1234567"))
			.andExpect(method(HttpMethod.POST))
			// .andExpect(header("Authorization", "Bearer ACCESS_TOKEN"))
			.andRespond(withSuccess(jsonResource("status"), APPLICATION_JSON));
	StatusRequest request = StatusRequest.pendingStatusRequest();
	request.setTargetUrl("https://ci.example.com/1000/output");
	request.setDescription("Build started");
	request.setContext("continuous-integration/whatever");
	Status status = statusesTemplate.createStatus("zalando-stups", "blub", "abcdefgh1234567", request);
	Assertions.assertThat(status).isNotNull();
	Assertions.assertThat(status.getId()).isEqualTo(1);
	Assertions.assertThat(status.getUrl()).isEqualTo("https://api.github.com/repos/octocat/Hello-World/statuses/1");
}