phldavies
12/02/2021, 12:38 PMMockEngine.create
doesn’t return MockEngine
? At the moment we’re doing MockEngine.create { … } as MockEngine
- will it be expected in the future that MockEngine.create
might not return MockEngine
?Aleksei Tirman [JB]
12/02/2021, 1:23 PMphldavies
12/02/2021, 2:09 PMMockEngine
where we’re obtaining and asserting over the requestHistory
collection. Effectively we are wanting to configure the engine while having the same usage pattern as MockEngine { req -> … }
usage.