public function getDefaultFormat() { return $this->defaultFormat; }
public function testConstructorWithXmlAsADefaultFormat() { $route = new RestRoute('Api', 'xml'); $defaultFormat = $route->getDefaultFormat(); $this->assertEquals('xml', $defaultFormat); }