public void GenerateThrowsExceptionWithNullTypeTest() { var target = new DomainNameValueGenerator(); Action action = () => target.Generate(null, null, null); action.ShouldThrow<ArgumentNullException>(); }