From 71e0ec310a8cc648daa07a2e056781de09980a41 Mon Sep 17 00:00:00 2001 From: Hugh Simpson Date: Thu, 1 Aug 2024 11:24:41 +0100 Subject: [PATCH] add README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index a55b3ee7..c7f5e444 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,9 @@ class JavaClassExtended extends JavaClass val mm = mock[JavaClassExtended] // should be used instead ``` +3. +* Mockito makes use of Symbol.newClass which is marked as experimental; to avoid having to add the `@experimental` + attribute everywhere in tests, you can add the `Test / scalacOptions += "-experimental"` to your build. ## Documentation