I mock the following function:
def deploy(deployRequest: DeployRequest, mergeResults: Seq[MergeResult]): Task[Deployment]
For the result I don't care for the inputs. So my question, is there a Way to achieve this with zio.test.mock
.
Something like:
ProcessEngineMock.Deploy(any, any) returns value(deployment)
(deployment
is the output)
Assertion.anything
should do the work