Exemplo n.º 1
0
 public void TwoLevelDependsOn_ViaProperty_SideObjectChange()
 {
     TestHelpers.DoInpcTest <InpcWithManualDependenciesCC>(
         c =>
     {
         var innerObject             = new InpcInnrClassCC();
         c.InnerObject2              = innerObject;
         var superInnerObject        = new InpcSuperInnrClassCC();
         innerObject.SuperInnrObject = superInnerObject;
         superInnerObject.Str1       = "sadf";
         superInnerObject.Str2       = "sag";
     },
         4,
         "ConcatFromSuperInnerObjectViaProperty");
 }
 public void TwoLevelDependsOn_ViaProperty_SideObjectChange()
 {
     TestHelpers.DoInpcTest<InpcWithManualDependenciesCC>(
         c =>
         {
             var innerObject = new InpcInnrClassCC();
             c.InnerObject2 = innerObject;
             var superInnerObject = new InpcSuperInnrClassCC();
             innerObject.SuperInnrObject = superInnerObject;
             superInnerObject.Str1 = "sadf";
             superInnerObject.Str2 = "sag";
         },
         4,
         "ConcatFromSuperInnerObjectViaProperty");
 }