public void TestInitialise() { _Snapshot = Factory.TakeSnapshot(); _Environment = new MockOwinEnvironment(); _Environment.AddRequiredFields(); _Responder = Factory.Resolve <IWebApiResponder>(); }
/// <summary> /// Initialises static fields. /// </summary> static BaseApiController() { _WebApiResponder = Factory.Resolve <IWebApiResponder>(); }