| 1 | package com.github.javafaker; |
| 2 | |
| 3 | public class Business { |
| 4 | |
| 5 | private final Faker faker; |
| 6 | |
| 7 | protected Business(Faker faker) { |
| 8 | this.faker = faker; |
| 9 | } |
| 10 | |
| 11 | public String creditCardNumber() { |
| 12 | return faker.fakeValuesService().resolve("business.credit_card_numbers", this, faker); |
| 13 | } |
| 14 | |
| 15 | public String creditCardType() { |
| 16 | return faker.fakeValuesService().resolve("business.credit_card_types", this, faker); |
| 17 | } |
| 18 | |
| 19 | public String creditCardExpiry() { |
| 20 | return faker.fakeValuesService().resolve("business.credit_card_expiry_dates", this, faker); |
| 21 | } |
| 22 | } |
nothing calls this directly
no outgoing calls
no test coverage detected