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