clock

Creates a Clock that follows the virtual time in this test.

Example

test("Pass the time to an external service") {
val service = SomeExternalService(time.clock)
}

See also

Access the current time

Set the current time