setService( 'ContentLanguage', MediaWikiServices::getInstance()->getLanguageFactory()->getLanguage( 'fa' ) ); } public function testModule() { $module = new CiteCSSFileModule( [], __DIR__ . '/../../modules' ); $styles = $module->getStyleFiles( $this->createMock( ResourceLoaderContext::class ) ); $this->assertSame( [ 'ext.cite.style.fa.css' ], $styles['all'] ); } }