NotOperator extends AbstractOperator implements LogicalOperator { @Override public int getBasePrecedence() { return 3; } 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 testGetBasePrecedence() { assertEquals(3, new NotOperator(1).getBasePrecedence()); }