summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Unit/Rule/RuleTest.php
blob: eacef61745a66111ac64988ce23772a515b71a59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

namespace SMW\Tests\Rule;

use SMW\Rule\Rule;

/**
 * @covers \SMW\Rule\Rule
 * @group semantic-mediawiki
 *
 * @license GNU GPL v2+
 * @since 3.0
 *
 * @author mwjames
 */
class RuleTest extends \PHPUnit_Framework_TestCase {

	public function testCanConstruct() {

		$instance = new Rule( 'foo', [], [] );

		$this->assertInstanceof(
			Rule::class,
			$instance
		);
	}

}