anchor.diff:          return a + b;
         }
         this.doSumUpTo2NonNull = function(a, b) {
  +        return a + b;
  +      }
  +      this.nameInJSMethod = function(a, b) {
           return a + b;
         }
       }
  
positive.code:   external String doSumUpTo2([String? a, String? b]);
    external String doSum1Or2NonNull(String a, [String b = 'bar']);
    external String doSumUpTo2NonNull([String a = 'foo', String b = 'bar']);
  }
  
  void createClassTest() {
  
negative.code:   Expect.equals('foobar', foo.doSumUpTo2NonNull());
    Expect.equals('foobar', foo.doSumUpTo2NonNull('foo'));
    Expect.equals('foobar', foo.doSumUpTo2NonNull('foo', 'bar'));
  
    Expect.equals('foobar', foo.nameInDartMethod('foo', 'bar'));
    Expect.equals('foo', foo.nameInDartGetter);
    foo.nameInDartSetter = 'boo';
    Expect.equals('boo', foo.nameInJSSetter);
  }
  
  @JS('JSClass.NestedJSClass')
  