RollbackImpl extends BaseFinishedStatement implements Rollback { @NotNull @Override public To to() { return new ToImpl(this); }  @NotNull @Override RollbackTransaction transaction(); @NotNull @Override To to(); @NotNull @Override SavePoint to(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }
@Test public void to_returnsNotNullvalue() { RollbackImpl rollback = new RollbackImpl(); SqlPart result = rollback.to(); assertThat(result, is(notNullValue())); }
@Test public void to_savePointName_returnsNotNullvalue() { RollbackImpl rollback = new RollbackImpl(); SqlPart result = rollback.to("savePointName"); assertThat(result, is(notNullValue())); }