public function testGetOptions() { $this->matchRequestResult = array('allowedMethods' => 'GET,POST,DELETE'); self::assertEquals(array('allow_methods' => array('GET', 'POST', 'DELETE')), $this->getProvider()->getOptions($this->createRequest())); }