public void GetClone_NonEmptyRefArray_ArrayDeepCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => new[] { new MyClass() });
 }
 public void GetClone_NonEmptyRefArrayShallowClone_ArrayShallowCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => new[] { new MyClass() }, assertSame: true, flags: CloningFlags.Shallow);
 }
 public void GetClone_NonEmptyStringArray_ArrayCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => new[] { "first string", string.Empty }, assertSame: true);
 }
 public void GetClone_NonEmptyArrayOfInt_ArrayCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => new[] { 0, 2, 3, 4, 5, 6, 7, 8, 9, 10 });
 }
 public void GetClone_EmptyArrayOfInt_ArrayCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => new int[0]);
 }
 public void GetClone_NullArrayOfInt_NullCloned()
 {
     AssertHelpers.GetArrayCloneAndAssert(() => (int[])null);
 }