*/
public function testGetOtherPage( $text, $expected ) {
if ( $expected === null ) {
*/
public function testGetOtherPage( $text, $expected ) {
if ( $expected === null ) {
}
$title = Title::newFromText( $text );
$this->assertEquals( $expected, $title->getOtherPage()->getPrefixedText() );
}
}
$title = Title::newFromText( $text );
$this->assertEquals( $expected, $title->getOtherPage()->getPrefixedText() );
}