public void Geometry_AddSrcConnection_AddsDeformer() { // given: var g = new FbxMesh(""); var skin = new FbxSkin(""); // require: Assert.AreEqual(0, g.GetDeformerCount()); Assert.AreEqual(0, g.GetSrcObjectCount()); // when: g.ConnectSrcObject(skin); // then: Assert.AreEqual(1, g.GetDeformerCount()); Assert.AreSame(skin, g.GetDeformer(0)); Assert.AreEqual(1, g.GetSrcObjectCount()); Assert.AreSame(skin, g.GetSrcObject(0)); }