setService( 'ContentLanguage', $this->getServiceContainer()->getLanguageFactory()->getLanguage( 'wa' ) ); } public function testModule() { $module = new CiteCSSFileModule( [], __DIR__ . '/../../modules/parsoid-styles' ); $styles = $module->getStyleFiles( $this->createMock( Context::class ) ); $this->assertSame( [ 'ext.cite.style.fr.less' ], $styles['all'] ); } }