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