Esempio n. 1
0
 public function testGetOptions()
 {
     $decorator = new Decorator();
     $decorator->placement = 'append';
     $decorator->foo = 'bar';
     $expected = array('foo' => 'bar');
     $this->assertEquals($expected, $decorator->getOptions());
 }