@Test
public void shouldRetrieveLoanProductWhenAssembling() {

    // setup
    IndividualLoanRequest individualLoanRequest = new IndividualLoanRequestBuilder().with(loanProductId).build();
    // stubbing
    when(loanProductDao.findBySystemId(loanProductId.globalIdentity())).thenReturn(loanProduct);
    // exercise test
    IndividualLoan individualLoan = loanAssembler.assembleFrom(individualLoanRequest);
    // verification
    verify(loanProductDao).findBySystemId(loanProductId.globalIdentity());
    assertThat(individualLoan, is(notNullValue()));
}