mockcat-1.0.1.0: Declarative mocking with a single arrow `~>`.
Safe HaskellNone
LanguageHaskell2010

Test.MockCat.Internal.Registry.Core

Synopsis

Documentation

attachVerifierToFn :: forall fn params. Typeable (InvocationRecorder params) => fn -> (Maybe MockName, InvocationRecorder params) -> IO () Source #

createOverlay :: IO Overlay Source #

Run the given IO action with a per-run overlay registry active. The overlay is cleaned up after the action completes.

installOverlay :: Overlay -> IO () Source #