runWith

Run the effect using the dependency for asserting the result.

Parameters

TModel
TDependency
effect