Skip to content

Instantly share code, notes, and snippets.

@AmineLAHRIM
Last active January 18, 2021 12:23
Show Gist options
  • Save AmineLAHRIM/b916f3b7f70e8874c10cf01f214dc495 to your computer and use it in GitHub Desktop.
Save AmineLAHRIM/b916f3b7f70e8874c10cf01f214dc495 to your computer and use it in GitHub Desktop.
class MockSharedPreferences extends Mock implements SharedPreferences {}
main() {
// Here some classes declaration
setUp(() {});
group('description', () {
// Here some attribute to work with in the tests
test('description', () {
// ARRANGE
// ACT
// ASSERT
});
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment