@Test
  public void queryOptions_when_set() {

    ServerCacheOptions options =
        cacheHolder.getCacheOptions(Product.class.getName(), ServerCacheType.QUERY);
    assertEquals(options.getMaxSecsToLive(), 15);
  }
  @Test
  public void queryOptions_when_notSet_expect_default() {

    ServerCacheOptions options =
        cacheHolder.getCacheOptions(Order.class.getName(), ServerCacheType.QUERY);
    assertEquals(options.getMaxSecsToLive(), 120);
  }
  @Test
  public void beanOptions_when_set() {

    ServerCacheOptions options =
        cacheHolder.getCacheOptions(Article.class.getName(), ServerCacheType.BEAN);
    assertEquals(options.getMaxSecsToLive(), 45);
  }