public function getFormat()
{
return $this->format;
}
/** * @test */ public function theRepresentationFormatCanBeSetAndRetrieved() { $this->actionRequest->setFormat('html'); $this->assertEquals('html', $this->actionRequest->getFormat()); $this->actionRequest->setFormat('doc'); $this->assertEquals('doc', $this->actionRequest->getFormat()); $this->actionRequest->setFormat('hTmL'); $this->assertEquals('html', $this->actionRequest->getFormat()); }