title: Rest Assured - Response body verification
body: <p>I have the below response and I need to validate the body.</p>
  
  <p><strong>Json :</strong></p>
  
  <pre><code>[
     "Admin Login",
     "Admin Contact",
     "Administrator",
     "Ads-View"
  ]
  </code></pre>
  
  <p><strong>Code :</strong></p>
  
  <pre><code>@Test(groups = {"ITTest"})
  public void testAdmin() 
  {
      com.jayway.restassured.response.Response testAdminResponse = get("/Admin");
      testAdminResponse.then().assertThat().statusCode(200);
      testAdminResponse.then().assertThat().body("$",equalTo("["Admin Login", "Admin Contact", "Administrator", "Ads-View"]"));
  }
  </code></pre>
  
  <p>I tried hamcrest matchers - equalTo, containsString, hasItems, hasItem but all in vain</p>
  
  <p>How do I validate the body completely ?</p>