public function regression747() { $stub = new IncrementalCommandStub(); $actual = $stub->callProtectedMethodFromObject('protectedMethod', $this, array("fooBar")); $this->assertSame('barBaz', $actual); }