Esempio n. 1
0
        internal static void ValidateReceiveInvitationResponse
        (
            ReceiveInvitationRequest aReceiveInvitationRequest,
            ReceiveInvitationResponse aReceiveInvitationRespone
        )
        {
            aReceiveInvitationRespone.CorrelationId.Should().Be(aReceiveInvitationRequest.CorrelationId);

            ConnectionInvitationMessage connectionInvitationMessage = aReceiveInvitationRespone.ConnectionInvitationMessage;

            connectionInvitationMessage.Should().NotBeNull();
            // check Other properties here
        }
Esempio n. 2
0
        public async Task ReceiveInvitationResponse()
        {
            ReceiveInvitationResponse receiveInvitationResponse = await Send(ReceiveInvitationRequest);

            ValidateReceiveInvitationResponse(ReceiveInvitationRequest, receiveInvitationResponse);
        }