@Test
public void prependTo_prependsProperSql() {

  /* Given */
  SelectWhereImpl where = new SelectWhereImpl("a=?", new Object[] {1}, mock(SqlPart.class));
  RawSqlBuilder builder = new RawSqlBuilderImpl();
  /* When */
  where.prependTo(builder);
  /* Then */
  assertThat(builder.toString(), is("WHERE a=?"));
}