use of io.requery.test.model.Address in project requery by requery.
the class RandomData method randomAddress.
static Address randomAddress() {
Random random = new Random();
Address address = new Address();
address.setLine1(random.nextInt(4) + " Fake St");
address.setCity("San Francisco");
address.setState("CA");
address.setZip(String.valueOf(10000 + random.nextInt(70000)));
address.setType(AddressType.HOME);
address.setLatitude(0.0f);
address.setLongitude(0.0f);
return address;
}
Aggregations