org
.
mockito
IdiomaticMockitoBase
Related Docs:
object IdiomaticMockitoBase
|
package mockito
trait
IdiomaticMockitoBase
extends
IdiomaticStubbing
with
PostfixVerifications
Linear Supertypes
PostfixVerifications
,
IdiomaticVerifications
,
IdiomaticStubbing
,
ScalacticSerialisableHack
,
MockitoEnhancer
,
MockCreator
,
AnyRef
,
Any
Ordering
Alphabetic
By Inheritance
Inherited
IdiomaticMockitoBase
PostfixVerifications
IdiomaticVerifications
IdiomaticStubbing
ScalacticSerialisableHack
MockitoEnhancer
MockCreator
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Type Members
implicit
class
DoSomethingOps
[
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps0
[
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps1
[
P0
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps10
[
P0
,
P1
,
P2
,
P3
,
P4
,
P5
,
P6
,
P7
,
P8
,
P9
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps2
[
P0
,
P1
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps3
[
P0
,
P1
,
P2
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps4
[
P0
,
P1
,
P2
,
P3
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps5
[
P0
,
P1
,
P2
,
P3
,
P4
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps6
[
P0
,
P1
,
P2
,
P3
,
P4
,
P5
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps7
[
P0
,
P1
,
P2
,
P3
,
P4
,
P5
,
P6
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps8
[
P0
,
P1
,
P2
,
P3
,
P4
,
P5
,
P6
,
P7
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
DoSomethingOps9
[
P0
,
P1
,
P2
,
P3
,
P4
,
P5
,
P6
,
P7
,
P8
,
R
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
StubbingOps
[
T
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
implicit
class
ThrowSomethingOps
[
E
]
extends
AnyRef
Definition Classes
IdiomaticStubbing
abstract
type
Verification
Definition Classes
IdiomaticVerifications
implicit
class
VerificationsIntOps
extends
AnyRef
Definition Classes
PostfixVerifications
implicit
class
VerifyingOps
[
T
]
extends
AnyRef
Definition Classes
PostfixVerifications
Abstract Value Members
abstract
def
verification
(
v: ⇒
Any
)
:
Verification
Definition Classes
IdiomaticVerifications
Concrete Value Members
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
InOrder
(
mocks:
AnyRef
*
)
(
verifications: (
VerifyInOrder
) ⇒
Verification
)
:
Verification
Definition Classes
PostfixVerifications
val
answered
:
Answered
.type
Definition Classes
IdiomaticStubbing
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
atLeast
(
t:
Times
)
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastEightTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastFiveTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastFourTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastNineTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastOnce
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastSevenTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastSixTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastTenTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastThreeTimes
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastThrice
:
AtLeast
Definition Classes
PostfixVerifications
val
atLeastTwice
:
AtLeast
Definition Classes
PostfixVerifications
def
atMost
(
t:
Times
)
:
AtMost
Definition Classes
PostfixVerifications
val
atMostEightTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostFiveTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostFourTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostNineTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostOnce
:
AtMost
Definition Classes
PostfixVerifications
val
atMostSevenTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostSixTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostTenTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostThreeTimes
:
AtMost
Definition Classes
PostfixVerifications
val
atMostThrice
:
AtMost
Definition Classes
PostfixVerifications
val
atMostTwice
:
AtMost
Definition Classes
PostfixVerifications
val
called
:
Called
.type
Definition Classes
IdiomaticStubbing
val
calledAgain
:
CalledAgain
.type
Definition Classes
PostfixVerifications
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
val
eightTimes
:
Times
Definition Classes
PostfixVerifications
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
val
fiveTimes
:
Times
Definition Classes
PostfixVerifications
val
fourTimes
:
Times
Definition Classes
PostfixVerifications
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
ignoreStubs
(
mocks:
AnyRef
*
)
:
Array
[
AnyRef
]
Definition Classes
MockitoEnhancer
val
ignoringStubs
:
IgnoringStubs
.type
Definition Classes
PostfixVerifications
implicit
val
invocationOps
: (
InvocationOnMock
) ⇒
InvocationOnMockOps
Definition Classes
MockitoEnhancer
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
mock
[
T <:
AnyRef
]
(
name:
String
)
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
defaultAnswer:
DefaultAnswer
,
arg3:
Prettifier
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
def
mock
[
T <:
AnyRef
]
(
mockSettings:
MockSettings
)
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
arg2:
Prettifier
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
def
mock
[
T <:
AnyRef
]
(
defaultAnswer:
DefaultAnswer
)
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
arg2:
Prettifier
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
def
mock
[
T <:
AnyRef
]
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
defaultAnswer:
DefaultAnswer
,
arg3:
Prettifier
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
def
mock
[
T <:
AnyRef
]
(
defaultAnswer:
Answer
[_]
)
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
arg2:
Prettifier
)
:
T
Definition Classes
MockCreator
def
mockingDetails
(
toInspect:
AnyRef
)
:
MockingDetails
Definition Classes
MockitoEnhancer
implicit
def
mockitoSerialisableEquality
[
T
]
:
Equality
[
T
]
Definition Classes
ScalacticSerialisableHack
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
val
nineTimes
:
Times
Definition Classes
PostfixVerifications
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
val
on
:
On
.type
Definition Classes
PostfixVerifications
val
once
:
Times
Definition Classes
PostfixVerifications
val
onlyHere
:
OnlyOn
.type
Definition Classes
PostfixVerifications
val
realMethod
:
RealMethod
.type
Definition Classes
IdiomaticStubbing
def
reset
(
mocks:
AnyRef
*
)
(
implicit
arg0:
Prettifier
)
:
Unit
Definition Classes
MockitoEnhancer
val
returned
:
Returned
.type
Definition Classes
IdiomaticStubbing
val
sevenTimes
:
Times
Definition Classes
PostfixVerifications
val
sixTimes
:
Times
Definition Classes
PostfixVerifications
def
spy
[
T <:
AnyRef
]
(
realObj:
T
,
lenient:
Boolean
)
(
implicit
arg0:
ClassTag
[
T
]
,
arg1:
scala.reflect.api.JavaUniverse.WeakTypeTag
[
T
]
,
arg2:
Prettifier
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
def
spyLambda
[
T <:
AnyRef
]
(
realObj:
T
)
(
implicit
arg0:
ClassTag
[
T
]
)
:
T
Definition Classes
MockitoEnhancer → MockCreator
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
val
tenTimes
:
Times
Definition Classes
PostfixVerifications
val
theRealMethod
:
RealMethod
.type
Definition Classes
IdiomaticStubbing
val
threeTimes
:
Times
Definition Classes
PostfixVerifications
val
thrice
:
Times
Definition Classes
PostfixVerifications
val
thrown
:
Thrown
.type
Definition Classes
IdiomaticStubbing
def
toString
()
:
String
Definition Classes
AnyRef → Any
val
twice
:
Times
Definition Classes
PostfixVerifications
def
verifyNoMoreInteractions
(
mocks:
AnyRef
*
)
:
Unit
Definition Classes
MockitoEnhancer
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
withObjectMocked
[
O <:
AnyRef
]
(
block: ⇒
Any
)
(
implicit
arg0:
ClassTag
[
O
]
,
defaultAnswer:
DefaultAnswer
,
arg2:
Prettifier
)
:
Unit
Definition Classes
MockitoEnhancer
def
withObjectSpied
[
O <:
AnyRef
]
(
block: ⇒
Any
)
(
implicit
arg0:
ClassTag
[
O
]
,
leniency:
LeniencySettings
,
arg2:
Prettifier
)
:
Unit
Definition Classes
MockitoEnhancer
def
withSettings
(
implicit
defaultAnswer:
DefaultAnswer
)
:
MockSettings
Definition Classes
MockCreator
Inherited from
PostfixVerifications
Inherited from
IdiomaticVerifications
Inherited from
IdiomaticStubbing
Inherited from
ScalacticSerialisableHack
Inherited from
MockitoEnhancer
Inherited from
MockCreator
Inherited from
AnyRef
Inherited from
Any
Ungrouped