@Test public void columns_returnsNotNullValue() { CreateTableImpl createTable = new CreateTableImpl(null, "table", mock(SqlPart.class)); CreateColumns result = createTable.columns(); assertThat(result, is(notNullValue())); }
@NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); }
CreateTableImpl extends BaseFinishedStatement implements CreateTable { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } }
CreateTableImpl extends BaseFinishedStatement implements CreateTable { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableImpl(@Nullable final String databaseName, @NotNull final String tableName, @NotNull final SqlPart previous); }
CreateTableImpl extends BaseFinishedStatement implements CreateTable { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableImpl(@Nullable final String databaseName, @NotNull final String tableName, @NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override CreateColumns columns(@NotNull final Column... columns); @NotNull @Override As as(@NotNull final FinishedSelectStatement select); }
CreateTableImpl extends BaseFinishedStatement implements CreateTable { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableImpl(@Nullable final String databaseName, @NotNull final String tableName, @NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override CreateColumns columns(@NotNull final Column... columns); @NotNull @Override As as(@NotNull final FinishedSelectStatement select);  }