@Test
    public void testNamespaceOnStanza() throws Exception
    {
        // Setup fixture
        final Message message = new Message();
        message.setTo( "unittest@example.org/test" );
        message.addChildElement( "unittest", "unit:test:namespace" );
        final List<Packet> packets = new ArrayList<>();
        packets.add( message );

        // Execute system under test
        final HttpSession.Deliverable deliverable = new HttpSession.Deliverable( packets );
        final String result = deliverable.getDeliverable();

        // verify results
        // Note that this assertion depends on the Openfire XML parser-specific ordering of attributes.
        assertEquals( "<message to=\"unittest@example.org/test\" xmlns=\"jabber:client\"><unittest xmlns=\"unit:test:namespace\"/></message>", result );
    }
Verifies that the default namespace is set on (non-empty) stanzas.

@see <a href="https://igniterealtime.org/issues/browse/OF-1087">OF-1087</a>
xmppserver/src/test/java/org/jivesoftware/openfire/http/HttpSessionDeliverableTest.java