/** * @test */ public function protectedStaticPropertyForAccessibleMockObjectCanSetOriginal() { $newValue = 'New value ' . microtime(); $this->accessibleMock->_setStatic('protectedStaticProperty', $newValue); self::assertSame($newValue, Tx_Phpunit_Tests_Unit_Fixtures_ProtectedClass::getStaticProperty()); }
/** * Sets the content of the static property. * * @param string $value * * @return void */ public static function setStaticProperty($value) { self::$protectedStaticProperty = $value; }