@Test
public void getArrayReturnsJsonArray() throws Exception {

  testJSON = new JSONObject();
  testJSON.put(testKey, testArray);
  final Representation request = mockedJsonRequest(testJSON.toString());
  classUnderTest = new RequestParametersJson(request);
  assertArrayEquals(testArray, classUnderTest.getArray(testKey));
}