Search in sources :

Example 1 with DocAndCommForPrelimLetter

use of org.estatio.module.lease.dom.invoicing.summary.comms.DocAndCommForPrelimLetter in project estatio by estatio.

the class Invoice_DocumentManagement_IntegTest method prelimLetterOf.

Document prelimLetterOf(final Invoice invoice) {
    final List<DocAndCommForPrelimLetter> viewModels = mixin(Invoice_ForLease_preliminaryLetters.class, invoice).$$();
    assertThat(viewModels).hasSize(1);
    final DocAndCommForPrelimLetter viewModel = viewModels.get(0);
    final Document document = mixin(DocAndCommForPrelimLetter_document.class, viewModel).$$();
    assertThat(document).isNotNull();
    return document;
}
Also used : DocAndCommForPrelimLetter_document(org.estatio.module.lease.dom.invoicing.summary.comms.DocAndCommForPrelimLetter_document) DocAndCommForPrelimLetter(org.estatio.module.lease.dom.invoicing.summary.comms.DocAndCommForPrelimLetter) InvoiceForLease_attachSupportingDocument(org.estatio.module.lease.dom.invoicing.comms.InvoiceForLease_attachSupportingDocument) Document(org.incode.module.document.dom.impl.docs.Document) Invoice_ForLease_preliminaryLetters(org.estatio.module.lease.dom.invoicing.summary.comms.Invoice_ForLease_preliminaryLetters)

Aggregations

InvoiceForLease_attachSupportingDocument (org.estatio.module.lease.dom.invoicing.comms.InvoiceForLease_attachSupportingDocument)1 DocAndCommForPrelimLetter (org.estatio.module.lease.dom.invoicing.summary.comms.DocAndCommForPrelimLetter)1 DocAndCommForPrelimLetter_document (org.estatio.module.lease.dom.invoicing.summary.comms.DocAndCommForPrelimLetter_document)1 Invoice_ForLease_preliminaryLetters (org.estatio.module.lease.dom.invoicing.summary.comms.Invoice_ForLease_preliminaryLetters)1 Document (org.incode.module.document.dom.impl.docs.Document)1