54 $contentHandlerUseDb =
true
67 $nameTableStoreFactory,
76 $store = $factory->getRevisionStore( $wikiId );
77 $wrapper = TestingAccessWrapper::newFromObject( $store );
80 $this->assertInstanceOf( RevisionStore::class, $store );
83 $this->assertSame( $wikiId, $wrapper->wikiId );
86 $this->assertSame(
$cache, $wrapper->cache );
87 $this->assertSame( $commentStore, $wrapper->commentStore );
88 $this->assertSame( $mcrMigrationStage, $wrapper->mcrMigrationStage );
89 $this->assertSame( $actorMigration, $wrapper->actorMigration );
90 $this->assertSame( $contentHandlerUseDb, $store->getContentHandlerUseDB() );
92 $this->assertInstanceOf( ILoadBalancer::class, $wrapper->loadBalancer );
93 $this->assertInstanceOf( BlobStore::class, $wrapper->blobStore );
94 $this->assertInstanceOf( NameTableStore::class, $wrapper->contentModelStore );
95 $this->assertInstanceOf( NameTableStore::class, $wrapper->slotRoleStore );
96 $this->assertInstanceOf( LoggerInterface::class, $wrapper->logger );