@Test
public void getStatistics() {

	mockServer.expect(requestTo("https://api.linkedin.com/v1/people/~/network/network-stats?format=json&oauth2_access_token=ACCESS_TOKEN")).andExpect(method(GET))
		.andRespond(withSuccess(new ClassPathResource("statistics.json", getClass()), MediaType.APPLICATION_JSON));
	
	NetworkStatistics stats = linkedIn.connectionOperations().getNetworkStatistics();
	
	assertEquals(189, stats.getFirstDegreeCount());
	assertEquals(50803, stats.getSecondDegreeCount());
}