public async Task AssertNextIsCalledWhenSuccessful() { var token = new CancellationToken(); await validationPipelineBehavior.Handle(requestMock, token, nextMock); await nextMock.Received().Invoke(); }