Ejemplo n.º 1
0
 /**
  * @expectedException InvalidArgumentException
  */
 public function testExecuteInvalid()
 {
     $variableNode = new StringVariable();
     $action = new VarDumpAction();
     $action->getSocket(VarDumpAction::SOCKET_DATA)->addNode($variableNode);
     $action->execute();
 }
Ejemplo n.º 2
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testGetInvalidSocket()
 {
     $node = new VarDumpAction();
     $node->getSocket('unknown');
 }