@Test public void previous_returnsProperItem() { SqlPart sqlPart = mock(SqlPart.class); ToImpl to = new ToImpl(sqlPart); SqlPart result = to.previous(); assertThat(result, is(sqlPart)); }
@Nullable @Override public SqlPart previous() { return mPrevious; }
ToImpl extends BaseSqlPart implements To { @Nullable @Override public SqlPart previous() { return mPrevious; } }
ToImpl extends BaseSqlPart implements To { @Nullable @Override public SqlPart previous() { return mPrevious; } ToImpl(@NotNull final SqlPart previous); }
ToImpl extends BaseSqlPart implements To { @Nullable @Override public SqlPart previous() { return mPrevious; } 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 { @Nullable @Override public SqlPart previous() { return mPrevious; } ToImpl(@NotNull final SqlPart previous); @NotNull @Override FinishedStatement savePoint(@NotNull final String savePointName); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }