" <continue thread='e0ffe42b28561960c6b12b944a092794b9683a38'/>\n" +
" </invite>\n" +
" </x>\n" +
"</message>";
Message message = unmarshal(xml, Message.class);
MucUser mucUser = message.getExtension(MucUser.class);
Assert.assertNotNull(mucUser);
Assert.assertNotNull(mucUser.getInvites());
Assert.assertEquals(mucUser.getInvites().size(), 2);
Assert.assertEquals(mucUser.getInvites().get(0).getTo(), Jid.valueOf("wiccarocks@shakespeare.lit/laptop"));
Assert.assertEquals(mucUser.getInvites().get(0).getThread(), "e0ffe42b28561960c6b12b944a092794b9683a38");
Assert.assertTrue(mucUser.getInvites().get(0).isContinue());
Assert.assertEquals(mucUser.getInvites().get(1).getTo(), Jid.valueOf("hag66@shakespeare.lit"));
Assert.assertEquals(mucUser.getInvites().get(1).getThread(), "e0ffe42b28561960c6b12b944a092794b9683a38");
}