public function testBuildTags($prefix, array
$suffixes, array
$expected,
$glue = ':'
) { $this->
assertEquals($expected, Cache::
buildTags($prefix,
$suffixes,
$glue));
} /**
* @covers ::keyFromQuery
* @group legacy
*/
public function testKeyFromQuery() { $this->
expectDeprecation('Drupal\Core\Cache\Cache::keyFromQuery is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. No replacement provided. https://www.drupal.org/node/3322044'
);
$query =
new Select(new StubConnection(new StubPDO(),
[]), 'dne'
);
Cache::
keyFromQuery($query);
}}