CreateImpl extends BaseSqlPart implements Create { @Nullable @Override public SqlPart previous() { return null; }  @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @NotNull @Override Temporary temp(); @NotNull @Override Temporary temporary(); @NotNull @Override CreateTable table(@NotNull final String tableName); @NotNull @Override CreateTable table(@Nullable final String databaseName, @NotNull final String tableName); @NotNull @Override CreateTableIfNotExists tableIfNotExists(@NotNull final String tableName); @NotNull @Override CreateTableIfNotExists tableIfNotExists(@Nullable final String databaseName, @NotNull final String tableName);  }
@Test public void previous_returnsNull() { CreateImpl create = new CreateImpl(); SqlPart result = create.previous(); assertThat(result, is(nullValue())); }