public function testCanSetCachedValues()
{
$cache = [1 => (object) ['id' => 1, 'type' => 'object', 'subtype' => 'foo', 'class' => 'FooObject']];
_elgg_services()->subtypeTable->setCachedValues($cache);
$this->assertEquals(1, _elgg_services()->subtypeTable->getId('object', 'foo'));
}