@Test
public void addQualification() throws Exception {

    server.enqueue(new MockResponse().setResponseCode(201).setBody("{\n"
          + "  \"qualifications\": [\n"
          + "    \"API programming champion 2016\",\n"
          + "    \"Linux Daemons\"\n"
          + "  ]\n"
          + '}'));
    Response<List<String>, HttpError> response = resource.addQualification("Some desc").execute();
    // If no exception was thrown then the spec is build correctly.
    assertThat(response.body().size()).isEqualTo(2);
    assertThat(response.body().get(1)).isEqualTo("Linux Daemons");
}