Module
Test.PMock.Internal.Expectation
- Package
- purescript-pmock
- Repository
- pujoheadsoft/purescript-pmock
#Expectation Source
data Expectation paramsConstructors
CountAny CountVerifyMethodCountWith (MatchParamsOps params) CountVerifyMethod paramsOrder (MatchParamsOps params) VerifyOrderMethod (Array params)
#Expectations Source
newtype Expectations params aInstances
Functor (Expectations params)Apply (Expectations params)Applicative (Expectations params)Bind (Expectations params)Monad (Expectations params)(ToDirectExpected input params, MatchParams params) => With (Expectations params Unit) input (Expectations params Unit)
#Verification Source
newtype Verification paramsInstances
(ToDirectExpected input params, MatchParams params) => With TimesSpec input (Verification params)
#TimesSpec Source
newtype TimesSpecInstances
(ToDirectExpected input params, MatchParams params) => With TimesSpec input (Verification params)
#With Source
class With specification input result | specification input -> result whereMembers
with :: specification -> input -> result
Instances
(ToDirectExpected input params, MatchParams params) => With (Expectations params Unit) input (Expectations params Unit)(ToDirectExpected input params, MatchParams params) => With TimesSpec input (Verification params)
#greaterThan Source
greaterThan :: Int -> TimesSpec#calledWith Source
calledWith :: forall input params. ToDirectExpected input params => MatchParams params => input -> Verification params#calledInOrder Source
calledInOrder :: forall input params. ToDirectExpected input params => MatchParams params => Array input -> Expectations params Unit#calledInPartialOrder Source
calledInPartialOrder :: forall input params. ToDirectExpected input params => MatchParams params => Array input -> Expectations params Unit#calledInSequence Source
calledInSequence :: forall input params. ToDirectExpected input params => MatchParams params => Array input -> Expectations params Unit#anything Source
anything :: forall params. Verification params#inOrderWith Source
inOrderWith :: forall input params. ToDirectExpected input params => MatchParams params => Array input -> Verification params#inPartialOrderWith Source
inPartialOrderWith :: forall input params. ToDirectExpected input params => MatchParams params => Array input -> Verification params#verifyVerification Source
verifyVerification :: forall fun params m. MonadThrow Error m => Mock fun params -> Verification params -> m Unit#verifyExpectations Source
verifyExpectations :: forall fun params m. MonadThrow Error m => Mock fun params -> Expectations params Unit -> m Unit- Modules
- Test.
PMock - Test.
PMock. Builder - Test.
PMock. Expectation - Test.
PMock. Internal. Builder - Test.
PMock. Internal. Cons - Test.
PMock. Internal. CurryArgs - Test.
PMock. Internal. Expectation - Test.
PMock. Internal. FunctionParams - Test.
PMock. Internal. Message - Test.
PMock. Internal. Param - Test.
PMock. Internal. ParamDivider - Test.
PMock. Internal. Registry - Test.
PMock. Internal. Scope - Test.
PMock. Internal. Stub - Test.
PMock. Internal. Types - Test.
PMock. Internal. Verify - Test.
PMock. Param - Test.
PMock. Scope - Test.
PMock. Spec - Test.
PMock. Stub