public void OnRegisterAndOnRemove()
        {
            // Get the Singleton View instance
            IView view = View.Instance;

            // Create and register the test mediator
            IMediator mediator = new ViewTestMediator4(this);
            string    name     = mediator.MediatorName;

            view.RegisterMediator(mediator);

            // assert that onRegsiter was called, and the mediator responded by setting our boolean
            Assert.IsTrue(onRegisterCalled, "Expecting onRegisterCalled == true");

            // Remove the component
            view.RemoveMediator(name);

            // assert that the mediator is no longer retrievable
            Assert.IsTrue(onRemoveCalled, "Expecting onRemoveCalled == true");
        }
		public void OnRegisterAndOnRemove()
		{
			
  			// Get the Singleton View instance
  			IView view = View.Instance;

			// Create and register the test mediator
			IMediator mediator = new ViewTestMediator4(this);
			string name = mediator.MediatorName;
			view.RegisterMediator(mediator);

			// assert that onRegsiter was called, and the mediator responded by setting our boolean
   			Assert.IsTrue(onRegisterCalled, "Expecting onRegisterCalled == true");
				
			// Remove the component
			view.RemoveMediator(name);
			
			// assert that the mediator is no longer retrievable
   			Assert.IsTrue(onRemoveCalled, "Expecting onRemoveCalled == true");
		}