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

Mockito for Scala language

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

I've the feeling that explicitly typing the arguments you want to capture isn't very idiomatic for scala. Here is my first try at explicitly typing the captureres. It is especially...

When I run my test suite that has many tests with unexpected invocations, unused stubbing, or both, I get the same number of failures regardless of whether I set the...

Hi! I've hit a problem when running the following: ```scala package com.example import org.mockito.MockitoSugar import org.scalatest.FlatSpec case class ValueType[A](value: A) extends AnyVal class MySpec extends FlatSpec with MockitoSugar { val...

Java: 11 Scala: 2.13.1 Mockito: 3.3.3 Mockito Scala: 1.13.10 ```scala abstract class Foo trait Bar extends Foo val bar = mock[Bar] val foo: Foo = bar // or bar.asInstanceOf[Foo] ```...

Updates * [org.scala-lang:scala-library](https://github.com/scala/scala) * [org.scala-lang:scala-reflect](https://github.com/scala/scala) from 2.12.16 to 2.12.17. [GitHub Release Notes](https://github.com/scala/scala/releases/tag/v2.12.17) - [Version Diff](https://github.com/scala/scala/compare/v2.12.16...v2.12.17) I'll automatically update this PR to resolve conflicts as long as you don't change it...

Updates org.mockito:mockito-core from 4.6.1 to 4.8.0. I'll automatically update this PR to resolve conflicts as long as you don't change it yourself. If you'd like to skip this version, you...

I'm doing a research on tags . We found that versions like **1.16.33**、**1.16.13** was released in Maven, but there was no corresponding tag in github, Can you help me with...

**One-line description of issue**: We're seeing `java.lang.AssertionError: unsafe symbol ApiModelProperty (child of package annotations) in runtime reflection universe` and believe it's related to an interaction between mockito and swagger. #...

I have a java class (but I think java shouldn't matter, the issue should persist even given a scala implementation) ``` abstract class MyClass { String fieldToCacheSerialization = null; public...

## About this PR 📦 Updates [org.scalatest:scalatest](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...