/**
  * Test de-index.
  *
  * @param Connection $connection
  *   The connection to perform tests on.
  *
  * @dataProvider connectionDataProvider
  */
 public function testDeIndex(Connection $connection)
 {
     $indexer = new Indexer($connection);
     $connection->startTransaction();
     $operation = $indexer->index($connection->addMetadata('value', 'value1'), 'test');
     $indexer->deIndex($operation, 'test');
     $check = $indexer->lookup('test');
     $this->assertSame([], $check, 'Operations found during lookup.');
 }