function testTexts()
 {
     $field = new MockTracker_FormElement_Field_Text();
     $text = new Tracker_Artifact_ChangesetValue_Text(111, $field, false, 'Problems during installation');
     $this->assertEqual($text->getText(), 'Problems during installation');
     $this->assertEqual($text->getSoapValue(), 'Problems during installation');
     $this->assertEqual($text->getValue(), 'Problems during installation');
 }
 public function testTexts()
 {
     $field = aTextField()->withTracker(aTracker()->withProject(mock('Project'))->build())->build();
     $text = new Tracker_Artifact_ChangesetValue_Text(111, $field, false, 'Problems during installation', 'text');
     $this->assertEqual($text->getText(), 'Problems during installation');
     $this->assertEqual($text->getSoapValue($this->user), array('value' => 'Problems during installation'));
     $this->assertEqual($text->getValue(), 'Problems during installation');
 }