It’s probably been asked before, but is there a reason why `MockEngine.create` doesn’t return `MockE...
p
It’s probably been asked before, but is there a reason why
MockEngine.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
?
a
Could you please describe why do you need to know a specific type of engine? You can create a feature request to share your idea about returning specific engines.
p
Only really applies to our usage of
MockEngine
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.