public void CancelInvokesCancelOnFeature() { var feature = Substitute.For <ICancelableCommandFeature>(); _features.Add(typeof(ICancelableCommandFeature), feature); _context.Cancel(); feature.Received(1) .Cancel(); }
public void CancelInvokesCancelOnFeature() { var feature = Substitute.For <ICancelableCommandFeature>(); _features.Add(typeof(ICancelableCommandFeature), feature); _context.Cancel(); feature.Received(1) .Cancel(); }