@Test public void previous_returnsProperItem() { SqlPart sqlPart = mock(SqlPart.class); UpdateValuesImpl updateValues = new UpdateValuesImpl(new Object[] {1}, sqlPart); SqlPart result = updateValues.previous(); assertThat(result, is(sqlPart)); }
@Nullable @Override public SqlPart previous() { return mPrevious; }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @Nullable @Override public SqlPart previous() { return mPrevious; } }
UpdateValuesImpl extends BaseFinishedUpdateStatement implements UpdateValues { @Nullable @Override public SqlPart previous() { return mPrevious; } 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 SqlPart previous() { return mPrevious; } 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 SqlPart previous() { return mPrevious; } 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();  }