Ejemplo n.º 1
0
        public void TestInitialise()
        {
            _Snapshot = Factory.TakeSnapshot();

            _Environment = new MockOwinEnvironment();
            _Environment.AddRequiredFields();

            _Responder = Factory.Resolve <IWebApiResponder>();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initialises static fields.
 /// </summary>
 static BaseApiController()
 {
     _WebApiResponder = Factory.Resolve <IWebApiResponder>();
 }