@Test
public void share() {

	mockServer.expect(requestTo("https://api.linkedin.com/v1/people/~/shares?oauth2_access_token=ACCESS_TOKEN"))
		.andExpect(method(POST))
		.andExpect(content().string("{\"comment\":\"Social Integration Platform coming together nicely ...\",\"visibility\":{\"code\":\"connections-only\"}}"))
		.andRespond(withSuccess("", MediaType.APPLICATION_JSON));
	NewShare share = new NewShare();
	share.setComment("Social Integration Platform coming together nicely ...");
	share.setVisibility(new NewShareVisibility(NewShareVisibilityCode.CONNECTIONS_ONLY));
	linkedIn.networkUpdateOperations().share(share);
}