public void createObjectTypeTest() { dropObjectTypeTest(); API parent = _api; data target = new data(parent); string name = Constants.TestType; target.createObjectType(name); var existingTypes = target.getObjectTypes(); foreach (var typ in existingTypes) { Assert.AreEqual(typ.name,name); } }
public void dropObjectTypeTest() { var parent = _api; var target = new data(parent); var existingTypes = target.getObjectTypes(); foreach (var typ in existingTypes) { parent.data.dropObjectType(typ.name); } }