@Test
public void getConnections() {

	mockServer.expect(requestTo("https://api.linkedin.com/v1/people/~/connections?format=json&oauth2_access_token=ACCESS_TOKEN")).andExpect(method(GET))
		.andRespond(withSuccess(new ClassPathResource("connections.json", getClass()), MediaType.APPLICATION_JSON));
	List<LinkedInProfile> connections = linkedIn.connectionOperations().getConnections();
	assertConnections(connections);
}