@Test(expected = JsonDataException.class)
public void listObjectMultipleRoots() throws Exception {

    Type type = Converter.list(TestData.class, "users", "companies");
    fromJson(type, "{\n"
          + "  \"users\": [\n"
          + "    {\n"
          + "      \"companies\": [\n"
          + "        {\n"
          + "          \"str\": \"company1\",\n"
          + "          \"val\": 1\n"
          + "        },\n"
          + "        {\n"
          + "          \"str\": \"company1\",\n"
          + "          \"val\": 1\n"
          + "        },\n"
          + "        {\n"
          + "          \"str\": \"company1\",\n"
          + "          \"val\": 1\n"
          + "        }\n"
          + "      ]\n"
          + "    }\n"
          + "  ]\n"
          + '}');
}