public function testDateTimeResolveValueAndSetToModelUpdateAsDynamicFromExistingDate()
 {
     $form = new DateTimeWorkflowActionAttributeForm('WorkflowsTestModule', 'WorkflowModelTestItem');
     $form->type = DateTimeWorkflowActionAttributeForm::TYPE_DYNAMIC_FROM_EXISTING_DATETIME;
     $form->durationInterval = '1';
     $model = new WorkflowModelTestItem();
     $model->dateTime = '1980-01-05 04:00:00';
     $adapter = new WorkflowActionProcessingModelAdapter($model, Yii::app()->user->userModel);
     $form->resolveValueAndSetToModel($adapter, 'dateTime');
     $this->assertEquals('1980-01-06 04:00:00', $model->dateTime);
 }