How do you mock scala call-by name in Mockito or any other mocking library

56 views
Skip to first unread message

mohan

unread,
Nov 3, 2015, 11:03:12 AM11/3/15
to Utah Scala Enthusiasts
Hi,


Here are my dependencites

libraryDependencies += "org.mockito" % "mockito-all" % "1.10.19" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"

Thanks,
Mohan

Alvaro Carrasco

unread,
Nov 3, 2015, 2:42:30 PM11/3/15
to uses...@googlegroups.com
Answered on stackoverflow, but for reference: Can't do it with Mockito, should be doable with ScalaMock.

--
You received this message because you are subscribed to the Google Groups "Utah Scala Enthusiasts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to usescala+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages