Class FakeTimeProvider

java.lang.Object
com.exonum.binding.testkit.FakeTimeProvider
All Implemented Interfaces:
TimeProvider

public class FakeTimeProvider
extends Object
implements TimeProvider
Fake time provider for service testing. Allows to manually manipulate time that is returned by TestKit time service. If you need to set results of different consecutive calls on getTime(), consider using a mock of TimeProvider instead.