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

        // Execute system under test.
        final Cache result = CacheFactory.createSerializingCache("unittest-serializingcache-creation", String.class, String.class);

        // Verify results.
        assertNotNull(result);
        assertInstanceOf(SerializingCache.class, ((CacheWrapper) result).getWrappedCache());
    }
Asserts that a serializing cache can be created.

@see <a href="https://igniterealtime.atlassian.net/browse/OF-2781">OF-2781</a>
xmppserver/src/test/java/org/jivesoftware/util/cache/CacheFactoryTest.java