@Test
public void shouldProducePlanForSelectStarFromTable() {

    schemata = schemataBuilder.addTable("__ALLNODES__", "column1", "column2", "column3").build();
    query = builder.selectStar().fromAllNodes().query();
    initQueryContext();
    plan = planner.createPlan(queryContext, query);
    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, "__ALLNODES__", null, "column1", "column2", "column3");
    assertThat(source.getChildCount(), is(0));
    print(plan);
}