public void SetValueCallSetValue()
        {
            var value = new object();
            var input = new Mock <IStormInput <object> >(MockBehavior.Strict);

            input.Setup(i => i.SetValue(It.IsAny <StormToken>(), value));
            StormExtensions.SetValue(input.Object, value);
        }
        public void SetValueDoNotThrowOnNullValue()
        {
            var input = Mock.Of <IStormInput <object> >();

            StormExtensions.SetValue(input, null);
        }
 public void SetValueThrownOnNullThisArgument()
 {
     Assert.Throws <ArgumentNullException>(() => StormExtensions.SetValue(null, new object()));
 }