@Test
    public void testValidChain() throws Exception
    {
        // Setup fixture.

        // Execute system under test.
        systemUnderTest.checkClientTrusted( validChain, "RSA" );

        // Verify result
        // (getting here without an exception being thrown is enough).
    }
Verifies that a valid chain is not rejected.
xmppserver/src/test/java/org/jivesoftware/openfire/keystore/OpenfireX509TrustManagerTest.java