@Test public void meets() { ETCriteria criteria = new ETCriteria("a", expectedValue); doReturn(result).when(cacheIndex).equalsTo(expectedValue); List<Object> actualResult = criteria.meets(cacheIndex); verify(cacheIndex).equalsTo(expectedValue); assertEquals(result, actualResult); }
public List<Object> meets(CacheIndex cacheIndex) { return cacheIndex.equalsTo(value); }
ETCriteria extends ArithmeticCriteria { public List<Object> meets(CacheIndex cacheIndex) { return cacheIndex.equalsTo(value); } }
ETCriteria extends ArithmeticCriteria { public List<Object> meets(CacheIndex cacheIndex) { return cacheIndex.equalsTo(value); } ETCriteria(String attributeName, Object expectedValue); }
ETCriteria extends ArithmeticCriteria { public List<Object> meets(CacheIndex cacheIndex) { return cacheIndex.equalsTo(value); } ETCriteria(String attributeName, Object expectedValue); List<Object> meets(CacheIndex cacheIndex); }
ETCriteria extends ArithmeticCriteria { public List<Object> meets(CacheIndex cacheIndex) { return cacheIndex.equalsTo(value); } ETCriteria(String attributeName, Object expectedValue); List<Object> meets(CacheIndex cacheIndex);  }