@Test public void previous_returnsProperItem() { SqlPart sqlPart = mock(SqlPart.class); WithoutRowIdImpl withoutRowId = new WithoutRowIdImpl(sqlPart); SqlPart result = withoutRowId.previous(); assertThat(result, is(sqlPart)); }
@Nullable @Override public SqlPart previous() { return mPrevious; }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Nullable @Override public SqlPart previous() { return mPrevious; } }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Nullable @Override public SqlPart previous() { return mPrevious; } WithoutRowIdImpl(@NotNull final SqlPart previous); }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Nullable @Override public SqlPart previous() { return mPrevious; } WithoutRowIdImpl(@NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Nullable @Override public SqlPart previous() { return mPrevious; } WithoutRowIdImpl(@NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }