@Test
public void getDownloads() {

	responseHeaders.setContentType(MediaType.APPLICATION_JSON);
	mockServer.expect(requestTo("https://api.github.com/repos/williewheeler/skybase/downloads"))
		.andExpect(method(GET))
		.andRespond(withSuccess(jsonResource("repo-downloads"), MediaType.APPLICATION_JSON));
	assertEquals(4, gitHub.repoOperations().getDownloads("williewheeler", "skybase").size());
}