20 $map = LanguageCode::getDeprecatedCodeMapping();
22 $this->assertInternalType(
'array', $map );
23 $this->assertContainsOnly(
'string', array_keys( $map ) );
24 $this->assertArrayNotHasKey(
'', $map );
25 $this->assertContainsOnly(
'string', $map );
26 $this->assertNotContains(
'', $map );
29 $this->assertArrayNotHasKey(
'qqq', $map,
'documentation' );
30 $this->assertNotContains(
'qqq', $map,
'documentation' );
31 $this->assertArrayNotHasKey(
'qqx', $map,
'debug code' );
32 $this->assertNotContains(
'qqx', $map,
'debug code' );
35 $this->assertArrayNotHasKey(
'bh', $map,
'family of Bihari languages' );
36 $this->assertArrayNotHasKey(
'no', $map,
'family of Norwegian languages' );
37 $this->assertArrayNotHasKey(
'simple', $map );