/**
  */
 public function testUpdate()
 {
     $style1 = new FillStyle();
     $style2 = new FillStyle('green', 0.6);
     $style1->update($style2);
     $this->assertSame(0.6, $style1->getOpacity());
     $this->assertNotNull($style1->getColor());
     $this->assertSame('green', $style1->getColor()->__toString());
     // test independence of style1 and style2
     $style1->setOpacity(0.3);
     $this->assertSame(0.3, $style1->getOpacity());
     $this->assertSame(0.6, $style2->getOpacity());
 }