@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"))); }
@Nullable @Override public Object[] getArguments() { return mValues.clone(); }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @Nullable @Override public Object[] getArguments() { return mValues.clone(); } }
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); }
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(); }
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();  }