@Test
    public void testStringForListConverter() {
        val objects = (List<FacebookObject>) LIST_CONVERTER.convert(JSON);
        assertNotNull(objects);
        assertEquals(1, objects.size());
        val object = objects.get(0);
        assertEquals("x", object.getId());
        assertEquals("y", object.getName());
    }
Tests the {@link JsonConverter}.

@author Jerome Leleu
@since 1.9.0
pac4j-oauth/src/test/java/org/pac4j/oauth/profile/converter/JsonConverterTests.java