@Test
public void updateAppliesCategories() {

	service.update(transactions);
	ArgumentCaptor<Transactions> transactionsCaptor = ArgumentCaptor.forClass(Transactions.class);
	verify(persistenceService).save(transactionsCaptor.capture());
	assertCategorized(transactionsCaptor.getValue());
	verifyNoMoreInteractions(persistenceService);
}