public void TestInitialize() { Mock.SetupStatic(typeof(ODataControllerHelper)); Mock.SetupStatic(typeof(CurrentUserDataProvider)); Mock.SetupStatic(typeof(HttpContext)); Mock.Arrange(() => HttpContext.Current.Request.Headers.Get(TENANT_ID_HEADER_KEY)) .Returns(TENANT_ID) .OccursOnce(); _calloutDefinitionsController = new CalloutDefinitionsController(); _lifeCycleContext = Mock.Create <LifeCycleContext>(); }