public void TestCase2()
 {
     AbstractOrInterfaceOfPrototypeProduct prototypeProduct1 = new ConcreteShallowCopyPrototypeProductA();
       AbstractOrInterfaceOfPrototypeProduct clonedProduct1 = prototypeProduct1.Clone();
       bool areEqual1 = object.ReferenceEquals(
     prototypeProduct1.ReferenceProperty2,
     clonedProduct1.ReferenceProperty2);
 }
Пример #2
0
 public void TestCase2()
 {
     AbstractOrInterfaceOfPrototypeProduct prototypeProduct1 = new ConcreteShallowCopyPrototypeProductA();
     AbstractOrInterfaceOfPrototypeProduct clonedProduct1    = prototypeProduct1.Clone();
     bool areEqual1 = object.ReferenceEquals(
         prototypeProduct1.ReferenceProperty2,
         clonedProduct1.ReferenceProperty2);
 }