### Question:
SipInvite { CallerInformationHeader getRemotePartyId() { return remotePartyId; } SipInvite(String packet);   }### Answer:
@Test public void it_extracts_the_correct_information_from_the_header_fields() { assertEquals("user", new SipInvite(INVITE_PACKET_WITH_REMOTE_PARTY_ID).getRemotePartyId().name); assertEquals("247", new SipInvite(INVITE_PACKET_WITH_REMOTE_PARTY_ID).getRemotePartyId().number); }