public void IsSupportedThrowsExceptionWithNullTypeTest() { var target = new DateTimeValueGenerator(); Action action = () => target.IsSupported(null, null, null); action.ShouldThrow<ArgumentNullException>(); }
public void IsSupportedTest(Type type, bool expected) { var target = new DateTimeValueGenerator(); var actual = target.IsSupported(type, null, null); actual.Should().Be(expected); }