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