@Test
    void notEqualsTest4() {
        final ExpressionOperator.Builder expression = buildExpression("UserId", "user*", "2000-01-01T00:00:00.000Z",
                "2016-01-02T00:00:00.000Z", "Description (Case Sensitive)", "E0567")
                .addOperator(ExpressionOperator.builder().op(Op.NOT)
                        .addOperator(ExpressionOperator.builder().op(Op.OR)
                                .addOperator(ExpressionOperator.builder()
                                        .addTerm("EventTime", Condition.EQUALS, "2007-08-18T13:50:56.000Z")
                                        .addTerm("UserId", Condition.EQUALS, "user4")
                                        .build())
                                .addTerm("EventTime", Condition.EQUALS, "2007-01-18T13:56:42.000Z")
                                .build())
                        .build());
        test(expression, 23);
    }
Test more complex exclusion of multiple items.
stroom-app/src/test/java/stroom/search/AbstractInteractiveSearchTest.java