" <item action='view'\n" +
" node='2003-02-27T22:52:37.225Z'/>\n" +
" </offline>\n" +
"</iq>";
IQ iq = unmarshal(xml, IQ.class);
OfflineMessage offlineMessage = iq.getExtension(OfflineMessage.class);
Assert.assertNotNull(offlineMessage);
Assert.assertEquals(offlineMessage.getItems().size(), 1);
}