public virtual void TestInitialize()
        {
            ReservationSystemTestUtil testUtil     = new ReservationSystemTestUtil();
            CapacityScheduler         capScheduler = null;

            try
            {
                capScheduler = testUtil.MockCapacityScheduler(10);
            }
            catch (IOException e)
            {
                NUnit.Framework.Assert.Fail(e.Message);
            }
            CapacityReservationSystem reservationSystem = new CapacityReservationSystem();

            reservationSystem.SetRMContext(capScheduler.GetRMContext());
            try
            {
                reservationSystem.Reinitialize(capScheduler.GetConf(), capScheduler.GetRMContext(
                                                   ));
            }
            catch (YarnException e)
            {
                NUnit.Framework.Assert.Fail(e.Message);
            }
            string planQName = testUtil.GetreservationQueueName();

            ReservationSystemTestUtil.ValidateReservationQueue(reservationSystem, planQName);
        }