@Test
public void joinGroup() throws Exception {

    server.enqueue(new MockResponse().setBody(file("groups/join.json")));
    Response<Membership, HttpError> response = resource.joinGroup("12345").execute();
    assertThat(response).isNotNull();
    assertThat(response.body()).isEqualTo(Membership.MEMBER);
}