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