public function testToStringOnAllArgumentTypes() { $call = new Phake_CallRecorder_Call($this->mock, 'someMethod', array(new stdClass(), array(), null, opendir('.'), 'foo', 42, true)); $this->assertEquals('Phake_IMock->someMethod(<object:stdClass>, <array>, <null>, <resource>, <string:foo>, <integer:42>, <boolean:true>)', $call->__toString()); }