Exemple #1
0
 public void createObjectTest()
 {
     defineObjectPropertyTest();
     API parent = _api;
     data target = new data(parent);
     string obj_type = Constants.TestType;
     var properties = new Dictionary<string, string>
                          {
                              {
                                  Constants.TestObjectPropertyName,
                                  Constants.TestPropertyValue
                                  }
                          };
     var ret = target.createObject(obj_type, null);
     Assert.IsNotNull(ret);
     ret = target.createObject(obj_type, properties);
     _objectID = ret;
     Assert.IsNotNull(ret);
 }