DeleteImpl extends BaseSqlPart implements Delete { @Nullable @Override public SqlPart previous() { return null; }  @NotNull @Override DeleteFrom from(@NotNull final String tableName); @NotNull @Override DeleteFrom from(@Nullable final String databaseName, @NotNull final String tableName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void previous_returnsProperItem() { DeleteImpl delete = new DeleteImpl(); SqlPart result = delete.previous(); assertThat(result, is(nullValue())); }