Closed ezzatron closed 8 years ago
Hi there, I noticed you have a bug in the way you're using Phony. Lines like this one:
$this->fileProcessorHandle->updateFile->never();
Should probably be:
$this->fileProcessorHandle->updateFile->never()->called();
As calling never() by itself does nothing. See Verifying that a spy event happened an exact number of times.
never()
Now that's what I call service, thank you for noting. :) Fixed in 272c55c
No problem, it's fun to see people really using it in the wild :)
Hi there, I noticed you have a bug in the way you're using Phony. Lines like this one:
Should probably be:
As calling
never()
by itself does nothing. See Verifying that a spy event happened an exact number of times.