/// <exception cref="System.Exception"></exception>
 private void PutReplicationOnline(Replication replication)
 {
     CountDownLatch wentOnline = new CountDownLatch(1);
     Replication.ChangeListener onlineChangeListener = new _ChangeListener_1915(wentOnline
         );
     replication.AddChangeListener(onlineChangeListener);
     replication.GoOnline();
     bool succeeded = wentOnline.Await(30, TimeUnit.Seconds);
     NUnit.Framework.Assert.IsTrue(succeeded);
     replication.RemoveChangeListener(onlineChangeListener);
 }