public function testUpdate($alarm) { $alarm['title'] = 'Changed alarm text'; self::$alarm->set($alarm); }