when(txaction.getCheckNumber()).thenReturn(null);
when(txaction.getNote()).thenReturn("A thing.");
when(txaction.getTaggedAmounts()).thenReturn(new ArrayList<TaggedAmount>());
when(txaction.getAttachments()).thenReturn(new HashSet<Attachment>());
this.accountRepresentation = new XmlsonObject("account");
this.accountPresenter = mock(AccountBriefPresenter.class);
when(accountPresenter.present(Mockito.any(Account.class))).thenReturn(accountRepresentation);
this.merchantPresenter = mock(MerchantReferencePresenter.class);