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

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

        // Verify result.
        assertNotNull( result );
        assertEquals( 1, result.size() );
        assertTrue( result.contains( "test" ) );
    }
Tests if {@link LdapManager#splitFilter(String)} returns a single-valued result if the provided input is in LDAP
Filter string format that contains one part.
xmppserver/src/test/java/org/jivesoftware/openfire/ldap/LdapManagerTest.java