org.catools.common.facker.provider.CFakerStateProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of common-randomize Show documentation
Show all versions of common-randomize Show documentation
The Common Randomize Implementation
package org.catools.common.facker.provider;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.catools.common.facker.model.CRandomCities;
import org.catools.common.facker.model.CRandomCity;
import org.catools.common.facker.model.CRandomState;
@Data
@AllArgsConstructor
public class CFakerStateProvider {
private final CRandomState state;
private final CRandomCities cities;
public CRandomCity getRandomCity() {
return cities.getAny();
}
}