@Test
public void testIsNotNull() {
Criteria criteria = new Criteria("field_1").isNotNull();
Assert.assertEquals("field_1", criteria.getField().getName());
Predicate entry = getPredicateByPosition(criteria.getPredicates(), 0);
Assert.assertEquals(OperationKey.BETWEEN.getKey(), entry.getKey());
Assert.assertFalse(criteria.isNegating());
Assert.assertNull(((Object[]) entry.getValue())[0]);
Assert.assertNull(((Object[]) entry.getValue())[1]);
Assert.assertTrue(((Boolean) ((Object[]) entry.getValue())[2]).booleanValue());
Assert.assertTrue(((Boolean) ((Object[]) entry.getValue())[3]).booleanValue());
}