UpdateImpl extends BaseSqlPart implements Update { @Nullable @Override public SqlPart previous() { return null; } UpdateImpl(@NotNull final String tableName); @NotNull @Override Set set(@NotNull final String... columnNames); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void previous_returnsNullValue() { UpdateImpl update = new UpdateImpl("my_table"); SqlPart result = update.previous(); assertThat(result, is(nullValue())); }