예제 #1
0
        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);
        }
예제 #2
0
        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);
        }