@Test
public void testFindCustomersByTenantIdAndTitle() {

    UUID tenantId = UUIDs.timeBased();
    for (int i = 0; i < 10; i++) {
        createCustomer(tenantId, i);
    }
    Optional<Customer> customerOpt = customerDao.findCustomersByTenantIdAndTitle(tenantId, "CUSTOMER_5");
    assertTrue(customerOpt.isPresent());
    assertEquals("CUSTOMER_5", customerOpt.get().getTitle());
}