Beispiel #1
0
 /**
  * Test the removeGeneProteins() method from the Gene class
  *
  * @uses \bcGen\MainBundle\Entity\Gene::removeGeneProteins()
  */
 public function testRemoveGeneProteins()
 {
     echo "\n********************Test RemoveGeneProteins()***********************************************\n";
     $result = -1;
     $this->gene->addGeneProteins($this->protein);
     $this->gene->removeGeneProteins($this->protein);
     $result = $this->gene->getGeneProteins()->count();
     $this->assertEquals(0, $result);
 }