public function testActionMessage()
 {
     $actionMessage = new ActionMessage('1234', '1', '2', '3', '4');
     $this->assertEquals('1234', $actionMessage->getKey());
     $this->assertEquals(array('1', '2', '3', '4'), $actionMessage->getValues());
 }
示例#2
0
 public function __construct(ActionMessage $actionMessage, $code = 0, Exception $previous = null)
 {
     parent::__construct($actionMessage->getKey(), $code, $previous);
 }