public void getAssociatedObjectCountsTest() { setAssociationTest(); API parent = _api; data target = new data(parent); string name = Constants.TestType; List<long> obj_ids = new List<long>{_id1,_id2}; IList<int> actual; actual = target.getAssociatedObjectCounts(name, obj_ids); Assert.AreEqual(1, actual[0]);// Don't know why there are 0 being returned by facebook. There should be Assert.AreEqual(1, actual[1]); }