testMode static method

ZenTestMode testMode()

Enter test mode for easy mocking and test setup

Example:

Zen.testMode()
  .mock<AuthService>(FakeAuthService())
  .mock<ApiClient>(MockApiClient());

Implementation

static ZenTestMode testMode() => ZenTestMode();