setUp static method
- TestEnvironment testEnvironment
Implementation
static void setUp(TestEnvironment testEnvironment) {
if (!kDebugMode) {
throw UnsupportedError('`TestEnvironment.setUp` can only be used in debug mode.');
}
_instance = testEnvironment;
}