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