예제 #1
0
 public function testMandatoryOption()
 {
     $decorator = new Decorator();
     $decorator->setOption('foo', 'bar');
     $actual = $decorator->getMandatoryOption('foo');
     $this->assertEquals('bar', $actual);
 }