@Test
public void getListReturnsJsonList() throws Exception {

  testJSON = new JSONObject();
  testJSON.put(testKey, testList);
  final Representation request = mockedJsonRequest(testJSON.toString());
  classUnderTest = new RequestParametersJson(request);
  assertEquals(testList, classUnderTest.getList(testKey));
}