use of org.hibernate.test.cache.infinispan.stress.entities.Person in project hibernate-orm by hibernate.
the class CorrectnessTestCase method createFamily.
private static Family createFamily() {
ThreadLocalRandom random = ThreadLocalRandom.current();
String familyName = randomString(random);
Family f = new Family(familyName);
HashSet<Person> members = new HashSet<>();
members.add(createPerson(random, f));
f.setMembers(members);
return f;
}
Aggregations