function testAddReferenceTexts()
 {
     $highlight1 = new Highlight(5, 8, 'type1', 2, 6, $this->license1->getId());
     $highlights = array($highlight1);
     $this->highlight->addReferenceTexts($highlights);
     assertThat($highlight1->getInfoText(), is("10"));
 }
Example #2
0
 public function testGetInfoText()
 {
     assertThat($this->highlight->getInfoText(), is($this->infoText));
 }