Пример #1
0
 /**
  * Test the proxy behavior when we require a description of a method of a required state.
  */
 public function testGetMethodDescriptionOfState()
 {
     $this->initializeProxy('state1', true);
     $this->state2->allowMethod();
     $this->assertInstanceOf('\\ReflectionMethod', $this->proxy->getMethodDescription('test', 'state2'));
 }