public virtual void TestRefresh()
 {
     ReadCommittedIsolationTestCase.Item item2 = RetrieveOnlyInstance(Client2());
     Assert.AreEqual(Original, item2.name);
     ReadCommittedIsolationTestCase.Item item1 = RetrieveOnlyInstance(Client1());
     Assert.AreEqual(Original, item1.name);
     item1.name = Modified;
     Client1().Store(item1);
     Client1().Commit();
     Assert.AreEqual(Original, item2.name);
     Client2().Refresh(item2, 2);
     Assert.AreEqual(Modified, item2.name);
 }
 /// <exception cref="System.Exception"></exception>
 public virtual void TestPushedUpdates()
 {
     RegisterPushedUpdates(Client2());
     ReadCommittedIsolationTestCase.Item item2 = RetrieveOnlyInstance(Client2());
     Assert.AreEqual(Original, item2.name);
     ReadCommittedIsolationTestCase.Item item1 = RetrieveOnlyInstance(Client1());
     Assert.AreNotSame(item2, item1);
     Assert.AreEqual(Original, item1.name);
     item1.name = Modified;
     Client1().Store(item1);
     lock (_updatesMonitor)
     {
         Client1().Commit();
         if (IsNetworkingCS())
         {
             Sharpen.Runtime.Wait(_updatesMonitor, 1000);
         }
     }
     Assert.AreEqual(Modified, item2.name);
 }