public void getAssociatedObjectsTest() { setAssociationTest(); API parent = _api; data target = new data(parent); string name = Constants.TestType; long obj_id = _id1; bool no_data = false; data_getAssociatedObjects_response actual; actual = target.getAssociatedObjects(name, obj_id, no_data); Assert.AreEqual(actual.object_association[0].id2,_id2); }