@SuppressFBWarnings(value = "EI_EXPOSE_REP", justification = "lookupConstraints is ImmutableList")
  public List<LookupConstraint> getLookupConstraints() {
    return lookupConstraints;
  }
@SuppressWarnings("unchecked")
  @Test
  public void shouldExtractConstraintWithMultipleKeyExpressions_tableScan() {
    // Given:
    when(plannerOptions.getTableScansEnabled()).thenReturn(true);
    final Expression expression1 = new ComparisonExpression(
        Type.EQUAL,
        new UnqualifiedColumnReferenceExp(ColumnName.of("K")),
        new IntegerLiteral(1)
    );
    final Expression expression2 = new ComparisonExpression(
        Type.EQUAL,
        new UnqualifiedColumnReferenceExp(ColumnName.of("K")),
        new IntegerLiteral(2)
    );
    final Expression expression  = new LogicalBinaryExpression(
        LogicalBinaryExpression.Type.AND,
        expression1,
        expression2
    );

    QueryFilterNode filterNode = new QueryFilterNode(
            NODE_ID,
            source,
            expression,
            metaStore,
            ksqlConfig,
            false,
            plannerOptions
    );

    // Then:
    final List<LookupConstraint> keys = filterNode.getLookupConstraints();
    assertThat(keys.size(), is(1));
    assertThat(keys.get(0), instanceOf(KeyConstraint.class));
  }