Example #1
0
 public function testObjectSettersAndGetters()
 {
     $choice = new choice();
     $shell = new Shell('shell');
     $uom = new ProductUom();
     $choice->setShell($shell)->setTargetUom($uom);
     $this->assertSame($shell, $choice->getShell());
     $this->assertSame($uom, $choice->getTargetUom());
 }