public function testSameValueAs()
 {
     $aName = new Name('Testname');
     $sameName = new Name('Testname');
     $otherName = new Name('Other Name');
     $this->assertTrue($aName->sameValueAs($sameName));
     $this->assertFalse($aName->sameValueAs($otherName));
 }
 /**
  * @param ActionId      $anActionId
  * @param Type          $aType
  * @param Name          $aName
  * @param Arguments     $anArguments
  * @param WorkflowRunId $aWorkflowRunId
  */
 public function __construct(ActionId $anActionId, Type $aType, Name $aName, Arguments $anArguments, WorkflowRunId $aWorkflowRunId)
 {
     $anActionCreated = new ActionCreated(array('actionId' => $anActionId->toString(), 'type' => $aType->toString(), 'name' => $aName->toString(), 'arguments' => $anArguments->toString(), 'workflowRunId' => $aWorkflowRunId->toString()));
     $this->update($anActionCreated);
 }