Testing clock plugin interface

Important: The ITestingClock plugin interface is supported only for testing on non-production development servers. Do not register an implementation of this plugin on production servers.

To test ContactManager behavior over a simulated long span of time, you can implement the ITestingClock plugin interface and programmatically change the system time to simulate the passing of time. For example, you can define a plugin implementation that returns the real time except in special cases in which you artificially increase the time to represent a time delay. The delay could be one week, one month, or one year.

Time must always increase, not go back in time. Going back in time is likely to cause unpredictable behavior in ContactManager.

See also