@Test
void nothingMoreToInvest() {

    final SessionInfo sessionInfo = mockSessionInfo();
    final ParsedStrategy s = getStrategy();
    final Loan l = mockLoan(sessionInfo.getMinimumInvestmentAmount()
        .getValue()
        .intValue() - 1);
    final InvestmentSizeRecommender r = new InvestmentSizeRecommender(s);
    // with unlimited balance, make maximum possible recommendation
    final Money actualInvestment = r.apply(l, sessionInfo);
    assertThat(actualInvestment).isEqualTo(Money.ZERO);
}