@Test
public void testUIDFilter() throws Exception
{
SenseiClientRequest request = SenseiClientRequest.builder().filter(Filters.ids(Arrays.asList("1","2", "3"), Arrays.asList("2"))).build();
SenseiResult res = senseiServiceProxy.sendSearchRequest( request);
assertEquals("numhits is wrong", 2, res.getNumhits().intValue());
assertEquals("the first uid is wrong", 1, res.getHits().get(0).getUid().intValue());
assertEquals("the second uid is wrong", 3, res.getHits().get(1).getUid().intValue());
}