@Test
public void getUsersGroups() throws Exception {

    server.enqueue(new MockResponse().setBody(file("groups/groups.json")));
    Response<List<Group>, HttpError> response = resource.getOwnGroups().execute();
    assertThat(response.body().size()).isEqualTo(1);
}