title: JUnit Paramterized test Json/Text
body: <p>Hi I have 2 tests methods, that are almost same, but is one difference between them, I would like to create a parameterized test method that have valuesource json and text/plain, how to create a parameterized test from these 2 methods.</p>
  
  <pre><code>@Test
  public void shouldTestReturnWorkInText()
  {
  
      given().header(HttpHeaders.ACCEPT, MediaType.TEXT_PLAIN_VALUE)
             .when()
             .get(getContextBaseUrl())
             .peek()
             .then()
             .statusCode(HttpStatus.OK.value())
             .body(equalTo("work"));
  }
  
  @Test
  public void shouldTestReturnWorkInJSON()
  {
      given().header(HttpHeaders.ACCEPT, MediaType.APPLICATION_JSON_VALUE)
             .when()
             .get(getContextBaseUrl())
             .peek()
             .then()
             .statusCode(HttpStatus.OK.value())
             .body("message", equalTo("work"));
  }
  </code></pre>