Skip to content

issues Search Results · repo:mockito/mockito-scala language:Scala

Filter by

124 results
 (71 ms)

124 results

inmockito/mockito-scala (press backspace or delete to remove)

We are not able to mock methods that use optional default arguments. This problem occurs on Java 21 and using mockito-scala 1.17.37: test( bla ) { trait Mockable { def doTheThing(a: Option[Int] ...
  • ewerkema
  • Opened 
    on Dec 10, 2024
  • #545

I have started working in Scala very recently. I have below code in the main method that I ll need to mock for writing test cases, object SacSAAgentSoftwareLogParser extends SparkSessionCreation { ...
  • pforpramit
  • Opened 
    on Jul 10, 2024
  • #534

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 ...
  • andreezy777
  • 1
  • Opened 
    on Jan 17, 2024
  • #520

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 mockito error message ...
  • glidester
  • 1
  • Opened 
    on Nov 27, 2023
  • #518

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: ...
  • domdorn
  • 7
  • Opened 
    on Nov 15, 2023
  • #515

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 ...
  • DenisNovac
  • Opened 
    on Apr 21, 2023
  • #493

Using Mockito 4.6.1 and Scala 2.13.10: class Foo[A] { final def go(x: Foo[Object]): Object = foo } class Bar extends Foo[Object] { def go(x: Foo[String]): String = bar } object Test { def ...
  • dwijnand
  • Opened 
    on Feb 28, 2023
  • #491

Hi folks, I m using: - openJDK 11 - scala 2.13.10 - mockito-scala-cats 1.17.12 - scalaTestPlus 5.1.0 I ve added src/test/resources/mockito-extensions/org.mockito.plugins.MockMaker to enable ...
  • matt-calderaz
  • Opened 
    on Feb 10, 2023
  • #489

After upgrading to java 19 we started seeing InvalidUseOfMatchersException errors coming from mockito. trait Foo { def bar(a: String, b: Int = 1): Int } object Test extends org.mockito.IdiomaticMockito ...
  • Krever
  • Opened 
    on Feb 3, 2023
  • #488

The library has a vulnerability according to: https://mvnrepository.com/artifact/org.mockito/mockito-scala_2.13/1.17.12
  • giladra-wix
  • Opened 
    on Jan 18, 2023
  • #485
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Press the
/
key to activate the search input again and adjust your query.
Issue origami icon

Learn how you can use GitHub Issues to plan and track your work.

Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub Issues
ProTip! 
Restrict your search to the title by using the in:title qualifier.
Issue search results · GitHub