예제 #1
0
        public void Constructor_Should_Not_Throw_When_When_Is_Null()
        {
            Action <ExampleViewModel>    someAction        = Some.Action <ExampleViewModel>();
            Predicate <ExampleViewModel> nullWhenPredicate = null;

            MoreAssert.DoesNotThrow(
                () => new Command <ExampleViewModel>(someAction, nullWhenPredicate));
        }