@Test
public void shouldProduceErrorWhenSelectingNonExistantTable() {

    schemata = schemataBuilder.addTable("someTable", "column1", "column2", "column3").build();
    query = builder.selectStar().fromAllNodes().query();
    initQueryContext();
    plan = planner.createPlan(queryContext, query);
    assertThat(problems.hasErrors(), is(true));
}