protected TwitterController GetTwitterController(Container container = null, ISessionAdapter session = null)
 {
     return new TwitterController(container, session)
                {
                    ControllerContext =
                        new ControllerContext()
                };
 }
 //ctor for mocking
 internal BaseController(Container container, ISessionAdapter sessionAdapter)
 {
     _container = new Lazy<Container>(() => container);
     _sessionAdapter = new Lazy<ISessionAdapter>(() => sessionAdapter);
 }
 internal TwitterController(Container container, ISessionAdapter sessionAdapter)
     : base(container, sessionAdapter)
 {
 }