is this better than stubbing expecting it with phpunit? hmm