예제 #1
0
        public void GetList_ThrowsArgumentNullException_IfNullOrEmptyStringPassed(string name)
        {
            Action action = () => appSettings.GetList(name);

            action.ShouldThrow <ArgumentNullException>();
        }
예제 #2
0
 public void GetList_ThrowsArgumentNullException_IfNullOrEmptyStringPassed(string name)
 {
     Assert.Throws <ArgumentNullException>(() => appSettings.GetList(name));
 }