public void Can_get_and_set_session_adapter()
 {
     controller = new FakeController();
     IHttpSessionAdapter sessionAdapter = new Mock<IHttpSessionAdapter>().Object;
     controller.SessionAdapter = sessionAdapter;
     controller.SessionAdapter.Should().BeSameAs(sessionAdapter);
 }
 public void Can_get_a_default_session_adapter()
 {
     controller = new FakeController();
     controller.ControllerContext = new ControllerContext(
         httpContext: new Mock<HttpContextBase> { DefaultValue = DefaultValue.Mock }.Object,
         routeData: new RouteData(),
         controller: controller);
     controller.SessionAdapter.Should().BeAssignableTo<IHttpSessionAdapter>();
 }