Add additional test for cloning of Elements.

This commit is contained in:
Daniel Kraus 2015-10-06 16:20:00 +02:00
parent 220e98ce1f
commit c94e704b01

View File

@ -49,6 +49,11 @@ namespace Tests.Controller
((Items)source.Elements[1]).Content, ((Items)source.Elements[1]).Content,
((Items)clone.Elements[1]).Content, ((Items)clone.Elements[1]).Content,
"Items 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");
} }
} }
} }