@Override
  public Stream<ColumnName> resolveSelectStar(
      final Optional<SourceName> sourceName
  ) {
    return getSource().resolveSelectStar(sourceName)
        .map(name -> aliases.getOrDefault(name, name));
  }
@Test
  public void shouldNotAddAliasOnResolveSelectStarWhenNotAliased() {
    // Given:
    final ColumnName unknown = ColumnName.of("unknown");

    when(source.resolveSelectStar(any()))
        .thenReturn(ImmutableList.of(K, unknown).stream());

    // When:
    final Stream<ColumnName> result = projectNode.resolveSelectStar(Optional.empty());

    // Then:
    final List<ColumnName> columns = result.collect(Collectors.toList());
    assertThat(columns, contains(K, unknown));
  }