Beispiel #1
0
 public void SetUp()
 {
     SelfHostHarness.Start();
 }
Beispiel #2
0
 public void TearDown()
 {
     SelfHostHarness.Shutdown();
     TestHost.Shutdown();
 }
Beispiel #3
0
 public void can_make_request_after_recycle()
 {
     makeRequest().StatusCodeShouldBe(HttpStatusCode.OK);
     SelfHostHarness.Recycle();
     makeRequest().StatusCodeShouldBe(HttpStatusCode.OK);
 }