Not really to do with "PHP Application Design", but the other Simpletest questions seem to end up here. Please move this if it's in the wrong place.

I have a class that has public variables. After creating a mock of the class, how can I set the public variables? I guess in a similar way to setReturnValue();