@Test
    public void testMucPrivateMessageSent() throws Exception
    {
        // Setup test fixture.
        final Message input = new Message();
        input.setTo("room@domain/nick");
        input.setFrom(new JID("user", Fixtures.XMPP_DOMAIN, "resource"));
        input.setType(Message.Type.chat);
        input.setBody("test");
        input.getElement().addElement("x", "http://jabber.org/protocol/muc#user");

        // Execute system under test.
        final boolean result = Forwarded.isEligibleForCarbonsDelivery(input);

        // Verify results.
        assertTrue(result);
    }
A private <message/> from a local user to a MUC participant (sent to a full JID) SHOULD be carbon-copied.
xmppserver/src/test/java/org/jivesoftware/openfire/forward/ForwardedTest.java