@Test public void prependTo_prependsProperSql() { WithoutRowIdImpl withoutRowId = new WithoutRowIdImpl(mock(SqlPart.class)); RawSqlBuilder builder = new RawSqlBuilderImpl(); withoutRowId.prependTo(builder); assertThat(builder.toString(), is("WITHOUT ROWID")); }
@Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("WITHOUT ROWID"); }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("WITHOUT ROWID"); } }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("WITHOUT ROWID"); } WithoutRowIdImpl(@NotNull final SqlPart previous); }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("WITHOUT ROWID"); } WithoutRowIdImpl(@NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous(); }
WithoutRowIdImpl extends BaseFinishedStatement implements WithoutRowId { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("WITHOUT ROWID"); } WithoutRowIdImpl(@NotNull final SqlPart previous); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }