title: Test if an array contains an element from another array with Hamcrest
body: <p>I actually have two types of data:</p>
  
  <pre><code>a = ["1", "2", "3", "3", "5"]
  b = ["7", "2"]
  
  given()
         .header("Content-Type", "application/json").
  when()
         .post(this.url).
  then()
         .statusCode(200)
         .contentType("application/json")
         .body(myPathToData, everyItem(haveOneOrMoreElementFrom(a)));
  </code></pre>
  
  <p>I would like to test, with Hamcrest, in my body response after my rest-assured request, if b (element received) contains one or more element from a (<code>haveOneOrMoreElementFrom</code> in my example).</p>
  
  <p>Is it also possible to make a function in my body response?</p>
  
  <p>Solution:</p>
  
  <p>I found a possible solution:
  <code>everyItem(hasItem(isIn(a)))</code></p>