public function testGetRequiredOptions() { $this->resolver->setRequired(array('foo', 'bar')); $this->resolver->setDefault('bam', 'baz'); $this->resolver->setDefault('foo', 'boo'); $this->assertSame(array('foo', 'bar'), $this->resolver->getRequiredOptions()); }