@Test public void columns_returnsNotNullValue() { CreateTableIfNotExistsImpl createTableIfNotExists = new CreateTableIfNotExistsImpl(null, "table", mock(SqlPart.class)); CreateColumns result = createTableIfNotExists.columns(); assertThat(result, is(notNullValue())); }
@NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); }
CreateTableIfNotExistsImpl extends BaseSqlPart implements CreateTableIfNotExists { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } }
CreateTableIfNotExistsImpl extends BaseSqlPart implements CreateTableIfNotExists { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableIfNotExistsImpl(@Nullable final String databaseName, @NotNull final String tableName, @NotNull final SqlPart previous); }
CreateTableIfNotExistsImpl extends BaseSqlPart implements CreateTableIfNotExists { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableIfNotExistsImpl(@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); }
CreateTableIfNotExistsImpl extends BaseSqlPart implements CreateTableIfNotExists { @NotNull @Override public CreateColumns columns(@NotNull final Column... columns) { return new ColumnsImpl(columns, this); } CreateTableIfNotExistsImpl(@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);  }