- $lc = $this->getMockBuilder( \LocalisationCache::class )
- ->setConstructorArgs( [ [ 'store' => 'detect' ] ] )
+
+ $lc = $this->getMockBuilder( LocalisationCache::class )
+ ->setConstructorArgs( [
+ new ServiceOptions( LocalisationCache::$constructorOptions, [
+ 'forceRecache' => false,
+ 'manualRecache' => false,
+ 'ExtensionMessagesFiles' => [],
+ 'MessagesDirs' => [],
+ ] ),
+ new LCStoreDB( [] ),
+ new NullLogger
+ ] )