public void IsSupportedReturnsTrueForNullableBooleanTypeTest() { var target = new BooleanValueGenerator(); var actual = target.IsSupported(typeof (bool?), null, null); actual.Should().BeTrue(); }
public void IsSupportedThrowsExceptionWithNullTypeTest() { var target = new BooleanValueGenerator(); Action action = () => target.IsSupported(null, null, null); action.ShouldThrow<ArgumentNullException>(); }
public void IsSupportedReturnsFalseForUnsupportedTypeTest() { var target = new BooleanValueGenerator(); var actual = target.IsSupported(typeof (string), null, null); actual.Should().BeFalse(); }