public void AssertChangedEquals()
 {
     _collection.Count.ShouldEqual(ChangedItems.Count, "Changed items not equals.");
     if (_collection.Count != 0)
     {
         _collection.SequenceEqual(ChangedItems).ShouldBeTrue("Changed items not equals.");
     }
 }
Exemplo n.º 2
0
 protected override void AssertObject(SynchronizedNotifiableCollection <string> deserializedObj)
 {
     deserializedObj.SequenceEqual(TestExtensions.TestStrings).ShouldBeTrue();
     deserializedObj.IsNotificationsSuspended.ShouldBeFalse();
 }