### Question:
FilmResource { @Query @Description("Get a Films from a galaxy far far away") public Film getFilm(@Name("filmId") int id) { return service.getFilm(id); }  @Query("allFilms") @Description("Get all Films from a galaxy far far away") List<Film> getAllFilms(); @Query @Description("Get a Films from a galaxy far far away") Film getFilm(@Name("filmId") int id); List<Hero> heroes(@Source Film film); @Mutation Hero createHero(Hero hero); @Mutation Hero deleteHero(int id); @Query List<Hero> getHeroesWithSurname(@DefaultValue("Skywalker") String surname);  }### Answer:
@Test public void getFilm() { String requestBody = "{\"query\":" + "\"" + "{" + "film (filmId: 1) {" + " title" + " director" + " releaseDate" + " episodeID" + "}" + "}" + "\"" + "}"; given() .body(requestBody) .post("/graphql/") .then() .contentType(ContentType.JSON) .body("data.size()", is(1)) .body("data.film.director", is("George Lucas")) .statusCode(200); }