Esempio n. 1
0
 public function testSetCondition()
 {
     $condition = $this->getMockBuilder('Oro\\Bundle\\WorkflowBundle\\Model\\Condition\\ConditionInterface')->disableOriginalConstructor()->getMockForAbstractClass();
     $this->assignValue->expects($this->once())->method('setCondition')->with($condition);
     $this->action->setCondition($condition);
 }
Esempio n. 2
0
 /**
  * {@inheritdoc}
  */
 public function setCondition(ExpressionInterface $condition)
 {
     $this->assignValueAction->setCondition($condition);
 }
Esempio n. 3
0
 public function testSetCondition()
 {
     $condition = $this->getMockBuilder('Oro\\Component\\ConfigExpression\\ExpressionInterface')->disableOriginalConstructor()->getMockForAbstractClass();
     $this->assignValue->expects($this->once())->method('setCondition')->with($condition);
     $this->action->setCondition($condition);
 }