Ignite implements Extension<IgniteBucketBuilder> { public <T extends Serializable> ProxyManager<T> proxyManagerForCache(IgniteCache<T, GridBucketState> cache) { return new IgniteProxyManager<>(cache); }  @Override IgniteBucketBuilder builder(); ProxyManager<T> proxyManagerForCache(IgniteCache<T, GridBucketState> cache);  }
@Test(expected = IllegalArgumentException.class) @Override public void testThatImpossibleToPassNullCacheToProxyManagerConstructor() { Bucket4j.extension(getExtensionClass()).proxyManagerForCache(null); }