@Test
public void shouldProducePlanWhenSelectingAllColumnsOnExistingTable() {

    schemata = schemataBuilder.addTable("someTable", "column1", "column2", "column3").build();
    query = builder.selectStar().from("someTable").query();
    initQueryContext();
    plan = planner.createPlan(queryContext, query);
    print(plan);
    assertThat(problems.hasErrors(), is(false));
    assertThat(problems.isEmpty(), is(true));
    assertProjectNode(plan, "column1", "column2", "column3");
    assertThat(plan.getType(), is(PlanNode.Type.PROJECT));
    assertThat(plan.getChildCount(), is(1));
    PlanNode source = plan.getFirstChild();
    assertSourceNode(source, "someTable", null, "column1", "column2", "column3");
    assertThat(source.getChildCount(), is(0));
}