@Test
public void testOnNewDataCompleteRemove() {

	new Expectations(notificationManager) {{
		notificationManager.getAll(source); result = Arrays.asList(gcmClient);
		gcmSender.getSenderResult().getStatus(); result = SenderResult.Status.REMOVE_CLIENT;
		gcmSender.getSenderResult().getOldClient(); result = gcmClient;
		clientRepositoryCache.contains(anyString); result = true;
		clientRepositoryCache.get(anyString); result = clientRepository;
	}};
	notificationManager.onNewDataComplete(source);
	new Verifications() {{
		gcmSender.onNewDataComplete();
		senderCache.release(source, gcmClient);
		clientRepository.remove(gcmClient);
	}};
}