Exemple #1
0
        public void ThenAResultShouldBeReturned()
        {
            var request = new WithdrawOrganisationRequest();

            var result = OrganisationController.WithdrawalOrganisation(request).Result as NoContentResult;

            result.Should().NotBeNull();

            Mediator.Verify(q => q.Send(request, Moq.It.IsAny <CancellationToken>()));
        }