@Test
public void getPublicGists() {

	responseHeaders.setContentType(MediaType.APPLICATION_JSON);
	mockServer.expect(requestTo("https://api.github.com/gists/public"))
		.andExpect(method(GET))
		.andRespond(withSuccess(jsonResource("gists-public"), MediaType.APPLICATION_JSON));
	List<GitHubGist> gists = gitHub.gistOperations().getPublicGists();
	assertEquals(30, gists.size());
}