MCPcopy Create free account
hub / github.com/DiUS/java-faker / iban

Method iban

src/main/java/com/github/javafaker/Finance.java:57–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55 }
56
57 public String iban() {
58 List<String> countryCodes = new ArrayList<String>(countryCodeToBasicBankAccountNumberPattern.keySet());
59 String randomCountryCode = countryCodes.get(faker.random().nextInt(countryCodes.size()));
60 return iban(randomCountryCode);
61 }
62
63 public String iban(String countryCode) {
64 String basicBankAccountNumber = faker.regexify(countryCodeToBasicBankAccountNumberPattern.get(countryCode));

Callers

nothing calls this directly

Calls 6

calculateIbanChecksumMethod · 0.95
nextIntMethod · 0.80
getMethod · 0.65
randomMethod · 0.45
sizeMethod · 0.45
regexifyMethod · 0.45

Tested by

no test coverage detected