eu.monniot.scala3mock.main

Members list

Concise view

Type members

Classlikes

trait Default[A]

Provides a default value for some type. This is used for mocked functions to return something if no specific value have beeen provided.

Provides a default value for some type. This is used for mocked functions to return something if no specific value have beeen provided.

Note that Any doesn't have any default at the moment.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Default

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Default.type
class TestExpectationEx(message: String, methodName: Option[String]) extends Throwable

Attributes

Graph
Supertypes
class Throwable
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def withExpectations[A](verifyAfterRun: Boolean)(f: MockContext ?=> A): A