@Test public void where_returnsNotNullValue() { UpdateValuesImpl updateValues = new UpdateValuesImpl(new Object[] {1, "test"}, mock(SqlPart.class)); UpdateWhere result = updateValues.where("a=?", 1); assertThat(result, is(notNullValue())); }
@NotNull @Override public UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments) { return new UpdateWhereImpl(expression, arguments, this); }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @NotNull @Override public UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments) { return new UpdateWhereImpl(expression, arguments, this); } }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @NotNull @Override public UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments) { return new UpdateWhereImpl(expression, arguments, this); } UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SetImpl previous);   UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SqlPart previous); }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @NotNull @Override public UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments) { return new UpdateWhereImpl(expression, arguments, this); } UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SetImpl previous);   UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SqlPart previous); @NotNull @Override UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @Nullable @Override Object[] getArguments(); }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @NotNull @Override public UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments) { return new UpdateWhereImpl(expression, arguments, this); } UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SetImpl previous);   UpdateValuesImpl(@NotNull final Object[] values, @NotNull final SqlPart previous); @NotNull @Override UpdateWhere where(@NotNull final String expression, @NotNull final Object... arguments); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); @Nullable @Override Object[] getArguments();  }