/** * Test behavior of magic method __call about a protected method during a state's method calling. */ public function testCallPublicFromState() { $this->initializeProxy('state1', true); $this->assertEquals('fooBar', $this->proxy->callPublicMethod()); }