//When
final SelectFromPartition<String> start = builder.withPartitionComponents("a");
start.limit(3).async().getFirstMatching(5, "A", "B", "C");
final RegularStatement whereClause = start.properties.generateWhereClauseForSelect(select);
//Then
assertThat(whereClause.getQueryString()).isEqualTo("SELECT * FROM table WHERE id=:id AND col1=:col1 AND col2=:col2 AND col3=:col3 ORDER BY col1 ASC LIMIT :limitSize;");
assertThat(start.properties.getBoundValues()).containsSequence("a", "A", "B", "C", 5);
}