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); }
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); }