public override void SetUp() { base.SetUp(); MockRequestHandler = new MockRequestHandler(MockLogger); MockActivityHandler = new MockActivityHandler(MockLogger); AdjustFactory.Logger = MockLogger; AdjustFactory.SetRequestHandler(MockRequestHandler); AdjustFactory.SetActivityHandler(MockActivityHandler); ActivityHandler = GetActivityHandler(); PackageHandler = StartPackageHandler(); }
public override void TearDown() { AdjustFactory.SetRequestHandler(null); AdjustFactory.SetActivityHandler(null); AdjustFactory.Logger = null; }