Ejemplo n.º 1
0
        public void testSMSOutOfBandIInvitationMsg()
        {
            RelationshipV1_0 relationship = Relationship.v1_0(forRelationship, "thread-id");
            JsonObject       msg          = relationship.smsOutOfBandInvitationMsg(TestHelpers.getContext());

            testSMSOutOfBandInvitationMsg(msg, GoalCode.P2P_MESSAGING);
        }
Ejemplo n.º 2
0
        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);
        }