box<E> method
The open box name from the per-test set.
Implementation
Box<E> box<E>(String name) {
final key = name.toLowerCase();
if (!_openBoxNames.contains(key)) {
throw StateError(
'box "$name" is not part of this harness box set ($boxNames) or the '
'harness is not bootstrapped',
);
}
return Hive.box<E>(key);
}