protected override void TestInitialize()
        {
            base.TestInitialize();

            Factory.RegisterRequestHandler <PostProxyEstablishTrustRequestHandler>();
            Factory.RegisterRequestHandler <PostProxyTrustRequestHandler>();
            Factory.RegisterRequestHandler <GetProxyTrustRequestHandler>();
            Factory.RegisterRequestHandler <GetFederationMetadataRequestHandler>();

            ServerDataModel.SetPublishedEndpoint();
        }
        protected override void TestInitialize()
        {
            base.TestInitialize();

            // register request handlers used by this test class
            Factory.RegisterRequestHandler <DeleteProxyPublishSettingsRequestHandler>();

            // make sure the application proxy is installed on the client
            TestSite.Assert.IsTrue(SutAdapter.IsApplicationProxyConfigured(),
                                   "Application proxy must be configured before removing applications");

            // set an application published before removing it
            ServerDataModel.SetPublishedEndpoint();
        }
        protected override void TestInitialize()
        {
            base.TestInitialize();

            // initialize mock client to visit the proxy
            MockClient = new MockClient(IPAddress.Parse(EnvironmentConfig.SUTIP));

            // make sure there is an application published
            ServerDataModel.SetPublishedEndpoint();

            // make sure the application proxy is deployed
            TestSite.Assert.IsTrue(SutAdapter.IsApplicationProxyConfigured(),
                                   "The Application must be deployed before running this test case.");
        }