io.github.mrtimeey.herodomainmodel.assertions.Assertions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of object-finder Show documentation
Show all versions of object-finder Show documentation
Library for finding objects in complex data structures
package io.github.mrtimeey.herodomainmodel.assertions;
import io.github.mrtimeey.herodomainmodel.model.Appearance;
import io.github.mrtimeey.herodomainmodel.model.Creation;
import io.github.mrtimeey.herodomainmodel.model.PersonalInformation;
import io.github.mrtimeey.herodomainmodel.model.SuperHero;
public class Assertions {
protected Assertions() {
// empty
}
public static SuperHeroAssert assertThat(SuperHero superHero) {
return new SuperHeroAssert(superHero);
}
public static AppearanceAssert assertThat(Appearance appearance) {
return new AppearanceAssert(appearance);
}
public static CreationAssert assertThat(Creation creation) {
return new CreationAssert(creation);
}
public static PersonalInformationAssert assertThat(PersonalInformation personalInformation) {
return new PersonalInformationAssert(personalInformation);
}
}