Add additional test for cloning of Elements.
This commit is contained in:
parent
220e98ce1f
commit
c94e704b01
@ -49,6 +49,11 @@ namespace Tests.Controller
|
||||
((Items)source.Elements[1]).Content,
|
||||
((Items)clone.Elements[1]).Content,
|
||||
"Items content");
|
||||
((Items)clone.Elements[1]).Content = "something else";
|
||||
Assert.AreNotEqual(
|
||||
((Items)source.Elements[1]).Content,
|
||||
((Items)clone.Elements[1]).Content,
|
||||
"Items content should be different");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user