@Test
public void shouldParseReturnsVCard() {
final String VCARD_RESPONSE = "<iq id='v1' to='stpeter@jabber.org/roundabout' type='result'>\n"
+ "<vCard xmlns='vcard-temp'><FN>Peter Saint-Andre</FN></vCard></iq>";
final XMLPacket result = XMLBuilder.fromXML(VCARD_RESPONSE);
final VCardResponse response = new VCardResponse(result);
assertEquals(IQ.Type.result, response.getType());
assertTrue(response.isSuccess());
assertTrue(response.hasVCard());
assertNotNull(response.getVCard());
}