@Test public void to_savePointName_returnsNotNull() { RollbackTransactionImpl rollbackTransaction = new RollbackTransactionImpl(mock(SqlPart.class)); SavePoint result = rollbackTransaction.to("savePointName"); assertThat(result, is(notNullValue())); }
@NotNull @Override public To to() { return new ToImpl(this); }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @NotNull @Override public To to() { return new ToImpl(this); } }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @NotNull @Override public To to() { return new ToImpl(this); } RollbackTransactionImpl(@NotNull final SqlPart previous); }
RollbackTransactionImpl extends BaseFinishedStatement implements RollbackTransaction { @NotNull @Override public To to() { return new ToImpl(this); } 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 { @NotNull @Override public To to() { return new ToImpl(this); } 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();  }