UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @Nullable @Override public Object[] getArguments() { return mValues.clone(); } 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();  }
@Test public void getArguments_returnsProperArguments() { UpdateValuesImpl updateValues = new UpdateValuesImpl(new Object[] {1, "test"}, mock(SqlPart.class)); Object[] arguments = updateValues.getArguments(); assertThat(arguments, is(arrayContaining((Object) 1, "test"))); }