@Test
public void findGroupsByKeyword() throws Exception {

    server.enqueue(new MockResponse().setBody(file("groups/search_result.json")));
    Response<List<Group>, HttpError> response = resource.findGroupByKeyword("android").execute();
    assertThat(response.body().size()).isEqualTo(10);
    Group firstGroup = response.body().get(0);
    assertThat(firstGroup.closed()).isEqualTo(false);
    assertThat(firstGroup.name()).isEqualTo("Android Community");
}