  @Test
  public void customAdapter() throws Exception {

    Jsouper jsouper = new Jsouper.Builder()
        .add(Movie.class, new MovieAdapter())
        .build();

    ElementAdapter<Movie> elementAdapter = jsouper.adapter(Movie.class);
    Movie movie = elementAdapter.fromElement(document);

    assertThat(movie).isEqualTo(new Movie("Deadpool", "Sample description", 4));
  }