function testRequireAuth() { $request = new HTTP\Request(); $response = new HTTP\Response(); $backend = new Apache(); $backend->challenge($request, $response); $this->assertNull($response->getHeader('WWW-Authenticate')); }