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