static Result coerceUserList(
      final Collection<Expression> expressions,
      final ExpressionTypeManager typeManager
  ) {
    return coerceUserList(expressions, typeManager, Collections.emptyMap());
  }
@Test
  public void shouldThrowOnIncompatible() {
    // Given:
    final ImmutableList<Expression> expressions = ImmutableList.of(
        new BooleanLiteral(true),
        new IntegerLiteral(10) // <-- can not be coerced to boolean.
    );

    // When:
    final Exception e = assertThrows(
        KsqlException.class,
        () -> CoercionUtil.coerceUserList(expressions, typeManager)
    );

    // Then:
    assertThat(e.getMessage(), is("operator does not exist: BOOLEAN = INTEGER (10)"
        + System.lineSeparator()
        + "Hint: You might need to add explicit type casts.")
    );
  }