com.bdmendes.smockito
Members list
Packages
Type members
Classlikes
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
MockedMethod.type
The trait to mix in for using Smockito facilities in a specification. It includes the mock and spy methods for creating mocks, and the various syntax extensions on them, such as on, calls and times. Those extensions expect method references via context functions with a Mock context parameter, retrievable via the it method.
The trait to mix in for using Smockito facilities in a specification. It includes the mock and spy methods for creating mocks, and the various syntax extensions on them, such as on, calls and times. Those extensions expect method references via context functions with a Mock context parameter, retrievable via the it method.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Types
A Mock represents a type mocked by Mockito, with a default answer strategy of throwing on unstubbed methods.
A Mock represents a type mocked by Mockito, with a default answer strategy of throwing on unstubbed methods.
Attributes
The internal representation of a method to mock. The compiler synthesizes conversions from regular function types to this type, for up to 22 parameters, via implicit conversions.
The internal representation of a method to mock. The compiler synthesizes conversions from regular function types to this type, for up to 22 parameters, via implicit conversions.
Attributes
A Tuple proxy, especially relevant in the case of Tuple1[A], treated as A.
A Tuple proxy, especially relevant in the case of Tuple1[A], treated as A.
Attributes
A Spy is a copied instance, for interception purposes. All methods of this instance behave as the real instance, unless stubbed otherwise.
A Spy is a copied instance, for interception purposes. All methods of this instance behave as the real instance, unless stubbed otherwise.