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

Class Cat

src/main/java/com/github/javafaker/Cat.java:3–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1package com.github.javafaker;
2
3public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected