Exemple #1
0
        public async Task AssertNextIsCalledWhenSuccessful()
        {
            var token = new CancellationToken();

            await validationPipelineBehavior.Handle(requestMock, token, nextMock);

            await nextMock.Received().Invoke();
        }