when unit tests execute any code which has a public static function written in a java class file (
Log.d
,
ParcelUuid.fromString
,
Instant.of
)
Copy code
Method d in android.util.Log not mocked. See <http://g.co/androidstudio/not-mocked> for details.
java.lang.RuntimeException: Method d in android.util.Log not mocked. See <http://g.co/androidstudio/not-mocked> for details.