@Test
    public void testIdentifyNonPlaceholder() throws Exception
    {
        // Setup fixture.
        final Document input = DocumentHelper.parseText("<vcard><el>placeholder</el></vcard>");

        // Execute system under test.
        final LdapVCardProvider.VCardTemplate result = new LdapVCardProvider.VCardTemplate(input);

        // Verify result.
        assertNotNull( result );
        assertTrue ( result.getAttributes() == null || result.getAttributes().length == 0 );
    }
Verifies that, using a simplified template, attribute values do not get wrongly identified as a placeholder.
xmppserver/src/test/java/org/jivesoftware/openfire/ldap/VCardTemplateTest.java