assertThat(query.component()).isEqualTo("org.sample.Sample");
assertThat(query.template()).isEqualTo("my_template_key");
assertThat(query.search()).isEqualTo("text");
assertThat(query.pageSize()).isEqualTo(50);
assertThat(query.pageIndex()).isEqualTo(2);
assertThat(query.membership()).isEqualTo(PermissionQuery.ANY);
}
@Test
public void to_query_with_include_membership_parameter() throws Exception {
Map<String, Object> params = newHashMap();