public void testOutOfBandIInvitationMsgWithShortInvite() { RelationshipV1_0 relationship = Relationship.v1_0(forRelationship, "thread-id"); JsonObject msg = relationship.outOfBandInvitationMsg(TestHelpers.getContext(), shortInvite); testOutOfBandInvitationMsg(msg, true, GoalCode.P2P_MESSAGING); }
public void testOutOfBandIInvitationMsgWithGoalCode() { RelationshipV1_0 relationship = Relationship.v1_0(forRelationship, "thread-id"); JsonObject msg = relationship.outOfBandInvitationMsg( TestHelpers.getContext(), null, GoalCode.REQUEST_PROOF ); testOutOfBandInvitationMsg(msg, false, GoalCode.REQUEST_PROOF); }