@Test
public void listObjectWrongRoots() throws Exception {

    Type type = Converter.list(TestData.class, "asdasdasd");
    try {
        fromJson(type, "{\n"
              + "  \"content\": []\n"
              + '}');
        fail();
    } catch (IOException ioe) {
        assertThat(ioe).hasMessage("Json does not match expected structure for roots [asdasdasd].");
    }
}