freeze static method

void freeze()

Freeze time at the current moment.

Implementation

static void freeze() {
  _testNow = DateTime.now();
}