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