@Test
public void testGetTheme() throws ParseException {

  String foundId = "1";
  String seriesNotFound = "11";
  String themeNotFound = "2";
  String result = given().pathParam("seriesId", foundId).expect().statusCode(HttpStatus.SC_OK).when()
          .get(rt.host("/{seriesId}/theme.json")).asString();
  JSONObject theme = ((JSONObject) parser.parse(result));
  assertEquals("theme-1-name", theme.get(foundId));
  given().pathParam("seriesId", seriesNotFound).expect().statusCode(HttpStatus.SC_NOT_FOUND).when()
          .get(rt.host("/{seriesId}/theme.json")).asString();
  result = given().pathParam("seriesId", themeNotFound).expect().statusCode(HttpStatus.SC_OK).when()
          .get(rt.host("/{seriesId}/theme.json")).asString();
  assertEquals("{}", result);
}