public void ConvertBack_NotImplementedException()
        {
            var testSubject = new NullToBooleanConverter();

            Action act = () => testSubject.ConvertBack(null, null, null, null);

            act.Should().Throw <NotImplementedException>("ConvertBack is not required");
        }
        public void NullToBooleanConverter_ConvertBack()
        {
            NullToBooleanConverter converter = new NullToBooleanConverter();

            Assert.Throws <NotImplementedException>(() => converter.ConvertBack(null, null, null, null));
        }
예제 #3
0
 public void ConvertBack_Called_ThrowsException()
 {
     _target.ConvertBack(null, typeof(object), null, CultureInfo.InvariantCulture);
 }