ColumnsImpl extends BaseFinishedStatement implements CreateColumns { @NotNull @Override public WithoutRowId withoutRowId() { return new WithoutRowIdImpl(this); } ColumnsImpl(@NotNull final Column[] columns, @NotNull final SqlPart previous); @NotNull @Override WithoutRowId withoutRowId(); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void withoutRowId_returnsNotNullValue() { ColumnsImpl columns = new ColumnsImpl(new Column[0], mock(SqlPart.class)); WithoutRowId result = columns.withoutRowId(); assertThat(result, is(notNullValue())); }