antiate_snapshotView', function() {
    const i10 = new tr.model.ObjectInstance(
        {}, '0x1000', 'cat', 'name', 10);
    const s10 = i10.addSnapshot(10, {foo: 1});
    i10.updateBounds();

    const selection = new tr.model.EventSet();
    selection.push(s10);

    const view =
        document.createElement('tr-ui-a-single-object-snapshot-sub-view');
    view.selection = selection;
    this.addHTMLOutput(view);
  });
});
</script>
