@Test
public void prependTo_prependsProperSql() {

  /* Given */
  LimitImpl limit = new LimitImpl(5, mock(SqlPart.class));
  RawSqlBuilder builder = new RawSqlBuilderImpl();
  /* When */
  limit.prependTo(builder);
  /* Then */
  assertThat(builder.toString(), is("LIMIT 5"));
}