public void shouldNotReturnResolutionNotOnUs()

in component-test/src/main/java/org/apache/fineract/cn/cheque/TestMICR.java [123:131]


  public void shouldNotReturnResolutionNotOnUs() throws Exception {
    final MICR micr = Fixture.createRandomCheque().getMicr();

    Mockito
        .doAnswer(invocation -> Optional.empty())
        .when(this.organizationServiceSpy).findOffice(micr.getBranchSortCode());

    super.chequeManager.expandMicr(MICRParser.toIdentifier(micr));
  }