update mockito dependency
diff --git a/pubspec.yaml b/pubspec.yaml
index e18d365..89b63a0 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -10,7 +10,7 @@
 dev_dependencies:
   build_runner: ^1.1.0
   build_web_compilers: ^1.0.0
-  mockito: ^3.0.0
+  mockito: ^4.0.0
   path: ^1.1.0
   pedantic: ^1.4.0
   test: ^1.0.0