public void DstObjectBothGetCollected() { // given var obj = new FbxObject(); var other = new FbxObject(); obj.ConnectDstObject(other); // when var result = collector.Collect(obj); // then Assert.NotNull(result); CollectionAssert.Contains(result, obj); CollectionAssert.Contains(result, other); Assert.AreEqual(2, result.Count); }