intersection
infix fun KMockContract.Expectation.intersection(other: KMockContract.Expectation): KMockContract.Expectation
Operator to determine the intersection of 2 VerificationHandles call indices. Both handles must be refer to same Proxy.
Return
VerificationHandle which contains the intersection of both given call indices.
Author
Matthias Geisler
See also
Parameters
other
2nd handle.
Throws
Illegal Argument Exception
if the 2nd handle does not refer to the same proxy.