public T getLimit()
    {
        return limit;
    }
@Test
    public void testGetLimit()
    {
        assertEquals(QUERY_LIMIT_DURATION.getLimit(), new Duration(1, HOURS));
        assertEquals(QUERY_LIMIT_DATA_SIZE.getLimit(), new DataSize(1, MEGABYTE));
    }