@Test
public void getUpdates() {

	mockServer.expect(requestTo("https://api.linkedin.com/v1/people/~/network/updates?count=10&start=0&type=ANSW&type=APPS&type=CMPY&type=CONN&type=JOBS&type=JGRP&type=PICT&type=PRFX&type=RECU&type=PRFU&type=QSTN&type=SHAR&type=VIRL&format=json&oauth2_access_token=ACCESS_TOKEN"))
		.andExpect(method(GET))
		.andRespond(withSuccess(new ClassPathResource("updates.json", getClass()), MediaType.APPLICATION_JSON));
	List<LinkedInNetworkUpdate> updates = linkedIn.networkUpdateOperations().getNetworkUpdates();
	assertUpdates(updates);
}