@Test
public void prependTo_prependsProperSql() {

  /* Given */
  DeferredImpl deferred = new DeferredImpl(mock(SqlPart.class));
  RawSqlBuilder builder = new RawSqlBuilderImpl();
  /* When */
  deferred.prependTo(builder);
  /* Then */
  assertThat(builder.toString(), is("DEFERRED"));
}