Relative Content

Tag Archive for phpphpunit

Confusion about mock reuse in phpunit

i’m writing some unit tests and became stuck at what i first thought was a bug, but after much frustration seems to be intended (but impossible to find documentation/mention of) behaviour/usage.