@Test
    public void testMucGroupChatRawData() throws Exception
    {
        // Setup test fixture.
        final String raw = """
            <message xmlns="jabber:client" to="john@example.org/barfoo" type="groupchat" id="7cb29947-fda2-4a44-b349-ec83fbbf062f" from="room1@muc.example.org/Johnny">
                    <active xmlns="http://jabber.org/protocol/chatstates" />
                    <markable xmlns="urn:xmpp:chat-markers:0" />
                    <origin-id xmlns="urn:xmpp:sid:0" id="7cb29947-fda2-4a44-b349-ec83fbbf062f" />
                    <encrypted xmlns="eu.siacs.conversations.axolotl">
                      <header sid="12121212">
                        <key rid="2334343434">MOCK-TESTDATA</key>
                        <iv>TESTTEST</iv>
            </header>
                      <payload>TEST</payload>
            </encrypted>
                    <encryption xmlns="urn:xmpp:eme:0" name="OMEMO" namespace="eu.siacs.conversations.axolotl" />
                    <body>You received a message encrypted with OMEMO but your client doesn't support OMEMO.</body>
                    <store xmlns="urn:xmpp:hints" />
                    <stanza-id xmlns="urn:xmpp:sid:0" id="d9c123d0-8738-40be-a1a3-497435e0761d" by="room1@muc.example.org" />
                    <addresses xmlns="http://jabber.org/protocol/address">
                      <address type="ofrom" jid="john@example.org" />
            </addresses>
            </message>
            """;
        final Message input = new Message(DocumentHelper.parseText(raw).getRootElement());

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

        // Verify results.
        assertFalse(result);
    }
Asserts that a message of type 'groupchat' is not eligible for Carbons delivery.

The stanza that's the input of the text is taken from a real-world stanza. This intends to make test coverage
more conform real-world scenario's than the basic test in {@link #testMucGroupChat()}
xmppserver/src/test/java/org/jivesoftware/openfire/forward/ForwardedTest.java