com.github.javafaker.HowIMetYourMother Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javafaker Show documentation
Show all versions of javafaker Show documentation
This library is a port of Ruby's stympy/faker gem (as well as Perl's Data::Faker library) that generates fake data.
It's useful when you're developing a new project and need some pretty data for showcase.
package com.github.javafaker;
public class HowIMetYourMother {
private final Faker faker;
protected HowIMetYourMother(Faker faker) {
this.faker = faker;
}
public String character() {
return faker.fakeValuesService().resolve("how_i_met_your_mother.character", this, faker);
}
public String catchPhrase() {
return faker.fakeValuesService().resolve("how_i_met_your_mother.catch_phrase", this, faker);
}
public String highFive() {
return faker.fakeValuesService().resolve("how_i_met_your_mother.high_five", this, faker);
}
public String quote() {
return faker.fakeValuesService().resolve("how_i_met_your_mother.quote", this, faker);
}
}