@Test
public void listStatuses() throws Exception {

	mockServer.expect(requestTo("https://api.github.com/repos/zalando-stups/blub/commits/abcdefgh1234567/statuses"))
			.andExpect(method(HttpMethod.GET))
			// .andExpect(header("Authorization", "Bearer ACCESS_TOKEN"))
			.andRespond(withSuccess(jsonResource("statusList"), APPLICATION_JSON));
	List<Status> statusList = statusesTemplate.listStatuses("zalando-stups", "blub", "abcdefgh1234567");
	Assertions.assertThat(statusList).isNotNull();
	Assertions.assertThat(statusList.size()).isEqualTo(1);
	Assertions.assertThat(statusList.get(0).getId()).isEqualTo(1);
}