Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我模拟以下功能:
def deploy(deployRequest: DeployRequest, mergeResults: Seq[MergeResult]): Task[Deployment]
对于结果,我不在乎输入。所以我的问题是,有没有办法用zio.test.mock.
zio.test.mock
就像是:
ProcessEngineMock.Deploy(any, any) returns value(deployment)
(deployment是输出)
deployment
Assertion.anything应该做的工作
Assertion.anything