@Test void generateIban_fail() { stubGetByIdCall(TPP_ID, Collections.EMPTY_LIST, UserRoleTO.CUSTOMER); assertThrows(TppException.class, () -> generationService.generateNextIban(TPP_ID)); }
public String generateNextIban(String tppId) { TppData data = getTppData(tppId); return generateIban(data.getCountryCode(), data.getBranchId(), data.getNextAccountNumber()); }
IbanGenerationService { public String generateNextIban(String tppId) { TppData data = getTppData(tppId); return generateIban(data.getCountryCode(), data.getBranchId(), data.getNextAccountNumber()); } }
IbanGenerationService { public String generateNextIban(String tppId) { TppData data = getTppData(tppId); return generateIban(data.getCountryCode(), data.getBranchId(), data.getNextAccountNumber()); }  }
IbanGenerationService { public String generateNextIban(String tppId) { TppData data = getTppData(tppId); return generateIban(data.getCountryCode(), data.getBranchId(), data.getNextAccountNumber()); }  String generateNextIban(String tppId); String generateIbanForNisp(DataPayload payload, String iban); Map<CountryCode, String> getCountryCodes(); BankCodeStructure getBankCodeStructure(CountryCode code); }
IbanGenerationService { public String generateNextIban(String tppId) { TppData data = getTppData(tppId); return generateIban(data.getCountryCode(), data.getBranchId(), data.getNextAccountNumber()); }  String generateNextIban(String tppId); String generateIbanForNisp(DataPayload payload, String iban); Map<CountryCode, String> getCountryCodes(); BankCodeStructure getBankCodeStructure(CountryCode code);  }