mockito-scala icon indicating copy to clipboard operation
mockito-scala copied to clipboard

Mockito for Scala language

Results 40 mockito-scala issues
Sort by recently updated
recently updated
newest added

## About this PR 📦 Updates [org.scalameta:scalafmt-core](https://github.com/scalameta/scalafmt) from `3.7.17` to `3.8.0` 📜 [GitHub Release Notes](https://github.com/scalameta/scalafmt/releases/tag/v3.8.0) - [Version Diff](https://github.com/scalameta/scalafmt/compare/v3.7.17...v3.8.0) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

## About this PR 📦 Updates [org.scalactic:scalactic](https://github.com/scalatest/scalatest) from `3.2.17` to `3.2.18` 📜 [GitHub Release Notes](https://github.com/scalatest/scalatest/releases/tag/release-3.2.18) - [Version Diff](https://github.com/scalatest/scalatest/compare/release-3.2.17...release-3.2.18) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

Hi guys, have problems with latest version of `mockit-scala` (1.17.30) on jdk21. Error without forcing `mockito-core` - ``` org.mockito.exceptions.verification.SmartNullPointerException: You have a NullPointerException here: -> at scala.collection.IterableOnceOps.toIterator(IterableOnce.scala:1313) because this method...

## About this PR 📦 Updates [org.scala-sbt:sbt](https://github.com/sbt/sbt) from `1.9.7` to `1.9.8` 📜 [GitHub Release Notes](https://github.com/sbt/sbt/releases/tag/v1.9.8) - [Version Diff](https://github.com/sbt/sbt/compare/v1.9.7...v1.9.8) ## Usage ✅ **Please merge!** I'll automatically update this PR to resolve...

I am upgrading an old service that had fallen behind on lib updates. After upgrading to "mockito-scala ->1.17.29" (and even tried specifying "mockito-core -> 2.22.0") I am now seeing this...

My project only had included `mockito-scala` as dependency. When upgrading to JDK21, we've got the following error: ``` [info] org.mockito.exceptions.base.MockitoException: Mockito cannot mock this class: interface zio.ZIO. [info] [info] If...

Hello In 1.17.12 of mockito-scala we have a strange behavior. The method "simpleMethod" is really call. If we launch the tests "with Spied", the temporary file is created and the...

## About this PR 📦 Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from `2.13.8` to `2.13.12` 📜 [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.13.12) - [Version Diff](https://github.com/scala/scala/compare/v2.13.8...v2.13.12) ## Usage ✅ **Please merge!** I'll automatically update this...

Recently i stuck with this error message: ``` java.lang.NullPointerException: Cannot invoke "cats.effect.IO.map(scala.Function1)" because "fa" is null ``` As is turned out, it means the mock can't find configured return answer...