public void TestAppFlowTracking() { var tracker = new MyAppFlowTracker1().WithBasicTrackingActive(); Log.MethodEntered(); // This will internally notify the AppFlow instance Assert.True(tracker.wasCalledByTestAppFlowTrackingTest); }
public void TestAppFlowTracking() { AppFlow.AddAppFlowTracker(new MyAppFlowTracker1()); Log.MethodEntered(); // This will internally notify the AppFlow instance MyAppFlowTracker1 t = AppFlow.GetAllOfType <MyAppFlowTracker1>().First(); Assert.True(t.wasCalledByTestAppFlowTrackingTest); }