### Question:
ImmediateImpl extends BaseSqlPart implements Immediate { @Override public void prependTo(@NotNull final RawSqlBuilder builder) { builder.prepend("IMMEDIATE"); } ImmediateImpl(@NotNull final SqlPart sqlPart); @NotNull @Override Transaction transaction(); @Override void prependTo(@NotNull final RawSqlBuilder builder); @Nullable @Override SqlPart previous();  }### Answer:
@Test public void prependTo_prependsProperSql() { ImmediateImpl immediate = new ImmediateImpl(mock(SqlPart.class)); RawSqlBuilder builder = new RawSqlBuilderImpl(); immediate.prependTo(builder); assertThat(builder.toString(), is("IMMEDIATE")); }