/** * Test of SafeRequest::getRemoteUser() with valid input. * * @return bool true True on Pass. */ function testGetRemoteUserInputValid() { $req = new SafeRequest(array('env' => array('REMOTE_USER' => 'user_1'))); $result = $req->getRemoteUser(); $this->assertInternalType('string', $result); $this->assertEquals('user_1', $result); }