assertEquals(ImmutableList.of(starbucks), list.getTxactions());
}
@Test
public void itReturnsTxactionsWithTagNamesContainingTheQuery() throws Exception {
inject(Txaction.class, starbucks, "taggedAmounts", ImmutableList.of(new TaggedAmount(starbucks, new Tag("snack"), null)));
final TxactionList list = buildTxactionList("Snack");
assertEquals(ImmutableList.of(starbucks), list.getTxactions());
}