/** * @covers \Core\Response\Response::setAllow */ public function testSetAllowWithArray() { $response = new Response(); $methods = ['get', 'post']; $response->setAllow($methods); $this->assertSame('GET, POST', $response->getHeader('Allow')); }