@Test
    public void testHasDefaultProtocols() throws Exception
    {
        // Setup fixture.
        // (not needed)

        // Execute system under test.
        final Collection<String> result = EncryptionArtifactFactory.getDefaultProtocols();

        // Verify results.
        assertFalse( result.isEmpty() );
    }
Verifies that the collection of default encryption protocols is not empty.
xmppserver/src/test/java/org/jivesoftware/openfire/spi/EncryptionArtifactFactoryTest.java