public void TestMockPluginResponse()
        {
            IBuildPlugin plugIn   = new TestPlugin();
            IResponse    response = plugIn.NamedActions[0].Action.Execute(cruiseRequest);

            Assert.IsNotNull(response, "Response is null");
            Assert.IsInstanceOfType(typeof(HtmlFragmentResponse), response, "Response is not HTML");

            Assert.AreEqual(new HtmlFragmentResponse("test").ResponseFragment,
                            ((HtmlFragmentResponse)response).ResponseFragment, "Responses are not equal");
        }
		public void TestMockPluginResponse()
		{
			IBuildPlugin plugIn = new TestPlugin();
			IResponse response =  plugIn.NamedActions[0].Action.Execute(cruiseRequest);

			Assert.IsNotNull(response, "Response is null");
			Assert.That(response, Is.InstanceOf<HtmlFragmentResponse>(), "Response is not HTML");

			Assert.AreEqual(new HtmlFragmentResponse("test").ResponseFragment, 
							((HtmlFragmentResponse)response).ResponseFragment, "Responses are not equal");
		}