@Test
    public void testSplitFilterDualValueInFilterFormat() throws Exception
    {
        // Setup fixture.
        final String input = "(|(foo)(bar))";

        // Execute system under test.
        final List<String> result = LdapManager.splitFilter( input );

        // Verify result.
        assertNotNull( result );
        assertEquals( 2, result.size() );
        assertEquals( "foo", result.get(0) );
        assertEquals( "bar", result.get(1) );
    }
Tests if {@link LdapManager#splitFilter(String)} returns a multi-valued result if the provided input is in LDAP
Filter string format that contains multiple parts.
xmppserver/src/test/java/org/jivesoftware/openfire/ldap/LdapManagerTest.java