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