anchor.diff:          
           // The call under test
           var future = objectToJson(object);
  +        future.catchError((error) => registerException(error));
           
           var expectation = new Map();
           
  
positive.code:         // Test a class that has a list of child objects
          var object = new ContainsObjectList();
          var future = objectToJson(object);
          
          var expectation = new Map();
          expectation["aString"] = object.aString;
  
negative.code:         // Test a class that contains basic type fields
          var object = new Basic();
          var future = objectToJson(object);
          future.catchError((error) => registerException(error));
          var expectation = new Map();
          expectation["aString"] = object.aString;
          expectation["aNum"] = object.aNum;
  