testMode static method
Enter test mode for easy mocking and test setup
Example:
Zen.testMode()
.mock<AuthService>(FakeAuthService())
.mock<ApiClient>(MockApiClient());
Implementation
static ZenTestMode testMode() => ZenTestMode();
Enter test mode for easy mocking and test setup
Example:
Zen.testMode()
.mock<AuthService>(FakeAuthService())
.mock<ApiClient>(MockApiClient());
static ZenTestMode testMode() => ZenTestMode();