public function callProtectedMethodFromObject($method, $object, $args = array())
{
return $this->_callProtectedMethodFromObject($method, $object, $args);
}
/** * @test * @link https://github.com/netz98/n98-magerun/pull/747 */ public function regression747() { $stub = new IncrementalCommandStub(); $actual = $stub->callProtectedMethodFromObject('protectedMethod', $this, array("fooBar")); $this->assertSame('barBaz', $actual); }