public function testSetRequired() { $option = new Option('f'); $option->setNeeds('foo'); $this->assertTrue(in_array('foo', $option->getNeeds())); }