var callCount : Int
Return the number of times that the function was called.
var receivedParameters : [[ParameterType ]]
Return a list of all parameters’ list with whom the function was called.
ReturnType
and can be checked.Framework
class Verifiable<ReturnType>
var callCount : Int
var receivedParameters : [[ParameterType ]]
func called(times: Int, after: Assertion?, file: StaticString , line: UInt) -> Assertion
func called(times: Predicate<Int>, after: Assertion?, file: StaticString , line: UInt) -> Assertion
func calledOnce (after: Assertion?, file: StaticString , line: UInt) -> Assertion
func disambiguate(with: ReturnType .Type) -> Self
ReturnType
.func neverCalled (after: Assertion?, file: StaticString , line: UInt) -> Assertion