### Question:
EntityProperty extends BaseProperty<E> implements RelationshipProperty<E> { public Expression neqId(Object id) { return ExpressionFactory.noMatchExp(getExpression(), id); } protected  EntityProperty(String name, Expression expression, Class<E> type); Expression eqId(Object id); Expression inId(Collection<Object> ids); Expression inId(Object firstId, Object... moreIds); Expression neqId(Object id); Expression ninId(Collection<Object> ids); Expression ninId(Object firstId, Object... moreIds); @Override EntityProperty<E> alias(String alias); @Override EntityProperty<E> outer(); EntityProperty<E> enclosing();  }### Answer:
@Test public void neqId() { Expression exp = property.neqId(1); assertEquals(ExpressionFactory.exp("path <> 1"), exp); }