Exemplo n.º 1
0
 /**
  * Test proxy behavior when the required method is not implemented in the required state.
  */
 public function testCallNonImplementedWithState()
 {
     $this->initializeProxy();
     try {
         $this->proxy->testOfState1();
     } catch (Exception\MethodNotImplemented $e) {
         return;
     } catch (\Exception $e) {
     }
     $this->fail('Error, the proxy must throw an Exception\\MethodNotImplemented exception when no state are available');
 }