    @Test(timeout = 30000)
    public void testCreateTemporaryTopic() {

        JMSContext context = cf.createContext();
        assertNotNull(context.createTemporaryTopic());

        context.close();
        try {
            context.createTemporaryTopic();
            fail("Should not be able to create resource when context is closed");
        } catch (IllegalStateRuntimeException isre) {}
    }