the class constructor to restore on replay
Registers a class constructor under the given name. The name
must match constructor.name (or the recorded error's name for errors) as
it appears in the snapshot. Intended for test setup; re-registering the same
name replaces the previous entry.
class name as it appears in recorded snapshots