@Autowired ParentRepository repository;
@Before
public void setUp() {
repository.save(new Parent().add(new Child()));
repository.save(new Parent().add(new Child()).add(new Child()));
repository.save(new Parent().add(new Child()));
repository.save(new Parent());
repository.flush();
}