@Test
public void testGetIndicesLessThanEquals() throws Exception {

    TestRequest request = new TestRequest();
    LessThanFilter filter = new LessThanFilter();
    filter.setTemporal(true);
    filter.setValue(1427997600000L); //4/2/2015, 11:30:00 PM IST
    request.setFilters(Collections.<Filter>singletonList(filter));
    String indexes[] = ElasticsearchUtils.getIndices("test", request,
                                                     new PeriodSelector(request.getFilters()).analyze(TEST_CURRENT_TIME)
                                                    );
    System.out.println(Arrays.toString(indexes));
    Assert.assertArrayEquals(new String[]{"foxtrot-test-table-*"}, indexes);
}