public void GenerateThrowsExceptionWithInvalidParametersTest(Type type) { var target = new DateTimeValueGenerator(); Action action = () => target.Generate(type, null, null); action.ShouldThrow<NotSupportedException>(); }