public void SetupWebsite() { // common logic to arrange the test website _server = WebServer.Create(); _appInfo = _server.CreateWebApplication("TestEasyWAP"); _server.DeployWebApplication(_appInfo.Name, new List<DeploymentItem> { new DeploymentItem { Type = DeploymentItemType.Directory, Path = WebSiteName } }); }