Beispiel #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);
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 public function setCondition(ExpressionInterface $condition)
 {
     $this->assignValueAction->setCondition($condition);
 }
Beispiel #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);
 }