use of uk.gov.gchq.gaffer.function.MapFilter in project Gaffer by gchq.
the class FreqMapIsMoreThanTest method shouldRejectEmptyMaps.
@Test
public void shouldRejectEmptyMaps() {
// Given
final MapFilter filter = new MapFilter(KEY1, new IsMoreThan(0L));
// When
boolean accepted = filter.isValid(new Object[] { new FreqMap() });
// Then
assertFalse(accepted);
}
Aggregations