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