Uses of Interface
com.exonum.binding.testkit.TimeProvider
Package | Description |
---|---|
com.exonum.binding.testkit |
-
Uses of TimeProvider in com.exonum.binding.testkit
Classes in com.exonum.binding.testkit that implement TimeProvider Modifier and Type Class Description class
FakeTimeProvider
Fake time provider for service testing.Methods in com.exonum.binding.testkit that return TimeProvider Modifier and Type Method Description static TimeProvider
TimeProvider. systemTime()
Returns a provider that uses the system time.Methods in com.exonum.binding.testkit with parameters of type TimeProvider Modifier and Type Method Description TestKit.Builder
TestKit.Builder. withTimeService(java.lang.String serviceName, int serviceId, TimeProvider timeProvider)
Adds a time service specification with which the TestKit would create the corresponding time service instance.