@Test void testVisit() { ComparisonNode comparisonNode = new ComparisonNode( new ComparisonOperator("=="), "user", Collections.singletonList("user1")); assertEquals(new PermissionsQuery(asList("user1"), emptyList()), visitor.visit(comparisonNode)); }
@Override public PermissionsQuery visit(AndNode andNode) { throw new UnsupportedPermissionQueryOperatorException(); }
PermissionRsqlVisitor extends NoArgRSQLVisitorAdapter<PermissionsQuery> { @Override public PermissionsQuery visit(AndNode andNode) { throw new UnsupportedPermissionQueryOperatorException(); } }
PermissionRsqlVisitor extends NoArgRSQLVisitorAdapter<PermissionsQuery> { @Override public PermissionsQuery visit(AndNode andNode) { throw new UnsupportedPermissionQueryOperatorException(); }  }
PermissionRsqlVisitor extends NoArgRSQLVisitorAdapter<PermissionsQuery> { @Override public PermissionsQuery visit(AndNode andNode) { throw new UnsupportedPermissionQueryOperatorException(); }  @Override PermissionsQuery visit(AndNode andNode); @Override PermissionsQuery visit(OrNode orNode); @Override PermissionsQuery visit(ComparisonNode comparisonNode); }
PermissionRsqlVisitor extends NoArgRSQLVisitorAdapter<PermissionsQuery> { @Override public PermissionsQuery visit(AndNode andNode) { throw new UnsupportedPermissionQueryOperatorException(); }  @Override PermissionsQuery visit(AndNode andNode); @Override PermissionsQuery visit(OrNode orNode); @Override PermissionsQuery visit(ComparisonNode comparisonNode);  }