public function testSetMethods()
{
$this->routeWithParameters->setMethods(array('POST'));
$this->assertEquals(array('POST'), $this->routeWithParameters->getMethods());
$this->routeWithParameters->setMethods(array('GET', 'POST', 'PUT', 'DELETE'));
$this->assertEquals(array('GET', 'POST', 'PUT', 'DELETE'), $this->routeWithParameters->getMethods());
}