@Test
@RunAsClient
public void testSearch() {

    final Speaker search = new Speaker();
    search.setNameFirst("Ar");
    search.setNameLast("G");
    final Set<Speaker> speakers = this.getWebTarget("speaker/search").request(MediaType.APPLICATION_JSON_TYPE)
            .put(Entity.json(search))
            .readEntity(new GenericType<Set<Speaker>>() {
            });
    Assert.assertFalse(speakers.isEmpty());
    boolean foundArun = false;
    for (final Speaker speaker : speakers) {
        this.log.info("Found: " + speaker.getNameFirst() + " " + speaker.getNameLast());
        if ("Arun".equals(speaker.getNameFirst()) && "Gupta".equals(speaker.getNameLast())) {
            foundArun = true;
        }
    }
    Assert.assertTrue(foundArun);
}