Beispiel #1
0
        public void CancelInvokesCancelOnFeature()
        {
            var feature = Substitute.For <ICancelableCommandFeature>();

            _features.Add(typeof(ICancelableCommandFeature), feature);
            _context.Cancel();

            feature.Received(1)
            .Cancel();
        }