I am using Scalamock with ScalaTest, and am trying to mock a Java interface. I currently have:
private val _iface = mock [MyInterface]
now I want to do
_iface expects `someMethod returning "foo" once
But the compiler does not find expects
.
I imported org.scalatest._
and org.scalamock.scalatest._
. What else am I missing?