6 class LicensesTest
extends MediaWikiTestCase
{
8 public function testLicenses() {
11 ** GFDL|Debian disagrees
14 $lc = new Licenses( array(
15 'fieldname' => 'FooField',
17 'section' => 'description',
19 'label' => 'A label text', # Note can't test label-message because $wgOut is not defined
20 'name' => 'AnotherName',
23 $this->assertThat( $lc, $this->isInstanceOf( 'Licenses' ) );