public virtual void TestGoOffline() { Uri remote = GetReplicationURL(); CountDownLatch replicationDoneSignal = new CountDownLatch(1); Replication repl = database.CreatePullReplication(remote); repl.Continuous = true; repl.Start(); repl.GoOffline(); NUnit.Framework.Assert.IsTrue(repl.Status == ReplicationStatus.Offline); }