public void testSMSOutOfBandIInvitationMsg() { RelationshipV1_0 relationship = Relationship.v1_0(forRelationship, "thread-id"); JsonObject msg = relationship.smsOutOfBandInvitationMsg(TestHelpers.getContext()); testSMSOutOfBandInvitationMsg(msg, GoalCode.P2P_MESSAGING); }
public void testSMSOutOfBandIInvitationMsgWithGoalCode() { RelationshipV1_0 relationship = Relationship.v1_0(forRelationship, "thread-id"); JsonObject msg = relationship.smsOutOfBandInvitationMsg( TestHelpers.getContext(), GoalCode.REQUEST_PROOF ); testSMSOutOfBandInvitationMsg(msg, GoalCode.REQUEST_PROOF); }