/** * testResponseContentType method * * @access public * @return void */ function testResponseContentType() { $this->assertNull($this->RequestHandler->responseType()); $this->assertTrue($this->RequestHandler->respondAs('atom')); $this->assertEqual($this->RequestHandler->responseType(), 'atom'); }
/** * testResponseContentType method * * @return void */ public function testResponseContentType() { $this->assertEquals('html', $this->RequestHandler->responseType()); $this->assertTrue($this->RequestHandler->respondAs('atom')); $this->assertEquals('atom', $this->RequestHandler->responseType()); }