NotOperator extends AbstractOperator implements LogicalOperator { @Override public TYPE getType() { return TYPE.NOT; } NotOperator(int ctxPrecedence); @Override TYPE getType(); @Override String getName(); @Override int getBasePrecedence(); @Override Predicate toPredicate(Predicate left, Predicate right); @Override String toString();  }
@Test public void testGetType() { assertSame(Operator.TYPE.NOT, new NotOperator(1).getType()); }