', new tr.v.d.GenericSet(['ggg']));
    hist.addSample(0, {
      bbb: tr.v.d.Breakdown.fromEntries([
        ['ccc', 11],
        ['ddd', 31],
      ]),
      eee: new tr.v.d.RelatedEventSet([
        new tr.v.d.EventRef({
          stableId: 'fff',
          title: 'ggg',
          start: 3,
          duration: 4,
        }),
      ]),
    });

    assert.deepEqual(tr.v.HistogramSerializer.serialize([hist]), [
      [
        'aaa',
        [1, [1, 1000, 20]],
        'a:c',
        'a:d',
        'ccc',
