public void TestCleanup()
        {
            NativeTimer?.Dispose();
            NativeTimer = null;

            Timer?.Dispose();
            Timer = null;
        }
 public void TestInitialize()
 {
     AutoReset = true;
     Interval = 123;
     SynchronizingObject = new ASynchronizinObject();
     Timer = new Timer(AutoReset, Interval, SynchronizingObject);
     NativeTimer = (System.Timers.Timer)Timer;
 }