Пример #1
0
 public function test_that_an_experiment_laboratory_can_be_set()
 {
     $e = new Experiment('test experiment');
     $l = new Laboratory();
     $e->setLaboratory($l);
     $this->assertInstanceOf(Laboratory::class, $e->getLaboratory());
     $this->assertSame($l, $e->getLaboratory());
 }