@Test public void savepoint_returnsNotNull() { ToImpl to = new ToImpl(mock(SqlPart.class)); FinishedStatement result = to.savePoint("savepoint"); assertThat(result, is(notNullValue())); }
@NotNull @Override public FinishedStatement savePoint(@NotNull final String savePointName) { return new SavePointImpl(savePointName, this); }
ToImpl extends BaseSqlPart implements To { @NotNull @Override public FinishedStatement savePoint(@NotNull final String savePointName) { return new SavePointImpl(savePointName, this); } }
ToImpl extends BaseSqlPart implements To { @NotNull @Override public FinishedStatement savePoint(@NotNull final String savePointName) { return new SavePointImpl(savePointName, this); } ToImpl(@NotNull final SqlPart previous); }
ToImpl extends BaseSqlPart implements To { @NotNull @Override public FinishedStatement savePoint(@NotNull final String savePointName) { return new SavePointImpl(savePointName, this); } ToImpl(@NotNull final SqlPart previous); @NotNull @Override FinishedStatement savePoint(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
ToImpl extends BaseSqlPart implements To { @NotNull @Override public FinishedStatement savePoint(@NotNull final String savePointName) { return new SavePointImpl(savePointName, this); } ToImpl(@NotNull final SqlPart previous); @NotNull @Override FinishedStatement savePoint(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }