CacheAll implements Predicate<T> { @Override public boolean test(T t) { return true; }  @Override boolean test(T t);  }
@Test public void testRule() { CacheAll<StoreImage> uut = new CacheAll<>(); assertTrue(uut.test(mockedImg)); assertTrue(uut.test(null)); }