Open kickthemooon opened 6 years ago
If I understood Prophecy correctly then...
Then I cannot test an objects method if there is no "messaging" i.e. more objects involved?
Like
If the object is a double (Prophecy), you cannot invoke the REAL code onto it. It is just a double, not a “partial mock/stub”
Prophecy won’t make you use a collaborator this way.
If I understood Prophecy correctly then...
Then I cannot test an objects method if there is no "messaging" i.e. more objects involved?
Like