Beispiel #1
0
 /**
  * Test the removeGeneAnnotations() method from the Gene class
  *
  * @uses \bcGen\MainBundle\Entity\Gene::removeGeneAnnotations()
  */
 public function testRemoveGeneAnnotations()
 {
     echo "\n********************Test RemoveGeneAnnotations()********************************************\n";
     $result = -1;
     $this->gene->addGeneAnnotations($this->annotation);
     $this->gene->removeGeneAnnotations($this->annotation);
     $result = $this->gene->getGeneAnnotations()->count();
     $this->assertEquals(0, $result);
 }