Supporting multiple predictions on the same prophecy
Author: stofCreated Jan 3, 2014Updated Sep 8, 2022
LabelsFeature request
Currently, a MethodProphecy can only have a single delayed prediction (registered with should() and checked when the prophet checks predictions). Setting a new prediction will loose the previous one.
To test multiple predictions, it is necessary to check them immediately with shouldHave().
Could it make sense to register multiple predictions on the same prophecy ?
Source: phpspec/prophecy