@Test
    public void testListObjectForListConverter() {
        final Collection<FacebookObject> list = new ArrayList<>();
        list.add(new FacebookObject());
        val objects = (List<FacebookObject>) LIST_CONVERTER.convert(list);
        assertNotNull(objects);
        assertEquals(1, objects.size());
        assertNotNull(objects.get(0));
    }
Tests the {@link JsonConverter}.

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