InsertColumnsImpl extends BaseSqlPart implements InsertColumns { @NotNull @Override public Values values(@NotNull final Object... expressions) { return new ValuesImpl(expressions, (InsertColumnsImpl) this); } InsertColumnsImpl(@NotNull final String[] columnNames, @NotNull final SqlPart previous); @NotNull @Override Values values(@NotNull final Object... expressions); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); int getColumnCount();  }
@Test public void values_returnsNotNullValue() { InsertColumnsImpl insertColumns = new InsertColumnsImpl(new String[] {"a", "b", "c"}, mock(SqlPart.class)); Values result = insertColumns.values(1, 2, 3); assertThat(result, is(notNullValue())); }