| 1 | package com.github.javafaker; |
| 2 | |
| 3 | public class Book { |
| 4 | private final Faker faker; |
| 5 | |
| 6 | protected Book(Faker faker) { |
| 7 | this.faker = faker; |
| 8 | } |
| 9 | |
| 10 | public String author() { |
| 11 | return faker.fakeValuesService().resolve("book.author", this, faker); |
| 12 | } |
| 13 | |
| 14 | public String title() { |
| 15 | return faker.fakeValuesService().resolve("book.title", this, faker); |
| 16 | } |
| 17 | |
| 18 | public String publisher() { |
| 19 | return faker.fakeValuesService().resolve("book.publisher", this, faker); |
| 20 | } |
| 21 | |
| 22 | public String genre() { |
| 23 | return faker.fakeValuesService().resolve("book.genre", this, faker); |
| 24 | } |
| 25 | } |
nothing calls this directly
no outgoing calls
no test coverage detected