@Test public void previous_returnsProperItem() { SqlPart sqlPart = mock(SqlPart.class); RollbackTransactionImpl rollbackTransaction = new RollbackTransactionImpl(sqlPart); SqlPart result = rollbackTransaction.previous(); assertThat(result, is(sqlPart)); }
@Nullable @Override public SqlPart previous() { return mPrevious; }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @Nullable @Override public SqlPart previous() { return mPrevious; } }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @Nullable @Override public SqlPart previous() { return mPrevious; } RollbackTransactionImpl(@NotNull final SqlPart previous); }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @Nullable @Override public SqlPart previous() { return mPrevious; } RollbackTransactionImpl(@NotNull final SqlPart previous); @NotNull @Override To to(); @NotNull @Override SavePoint to(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @Nullable @Override public SqlPart previous() { return mPrevious; } RollbackTransactionImpl(@NotNull final SqlPart previous); @NotNull @Override To to(); @NotNull @Override SavePoint to(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }