@Test
@DatabaseSetup("classpath:dbunit/empty_dataset.xml")
public void testFindCustomerUsers() {

    UUID tenantId = UUIDs.timeBased();
    UUID customerId = UUIDs.timeBased();
    create30Adminsand60Users(tenantId, customerId);
    List<User> customerUsers1 = userDao.findCustomerUsers(tenantId, customerId, new TextPageLink(40));
    assertEquals(40, customerUsers1.size());
    List<User> customerUsers2 = userDao.findCustomerUsers(tenantId, customerId,
            new TextPageLink(20, null, customerUsers1.get(39).getId().getId(), null));
    assertEquals(20, customerUsers2.size());
    List<User> customerUsers3 = userDao.findCustomerUsers(tenantId, customerId,
            new TextPageLink(20, null, customerUsers2.get(19).getId().getId(), null));
    assertEquals(0, customerUsers3.size());
}