public function testPropagatesLastActionChangesToCache()
{
_elgg_services()->entityTable->setCurrentTime();
$time = strtotime('-1 day');
$object = $this->mocks()->getObject(['time_created' => $time, 'time_updated' => $time, 'last_action' => $time]);
$this->assertEquals($object, _elgg_services()->entityCache->get($object->guid));
$posted = $object->updateLastAction();
$object = get_entity($object->guid);
$this->assertNotEquals($posted, $time);
$this->assertEquals($posted, $object->last_action);
}