@Test
public void testOnNewDataItem() {

	new Expectations(notificationManager) {{
		senderCache.get(source, httpClient); result = httpSender;
		notificationManager.getAll(source); result = Arrays.asList(httpClient, gcmClient);
	}};
	final ObjectNode data = new ObjectNode(JsonNodeFactory.instance);
	data.put("hello", "world");
	notificationManager.onNewDataItem(source, data);
	new Verifications() {{
		httpSender.onNewDataItem(data);
		gcmSender.onNewDataItem(data);
	}};
}