byFqId method
Looks up by fully-qualified id. Used by the generated static getters, where the id is known at compile time.
Implementation
TestStep byFqId(String fqId) {
final t = _byFqId[fqId];
if (t == null) {
throw StateError(
'testeador: no captured test with fqId "$fqId". '
'The generated TestInjector likely points at a stale codegen output — '
'run `dart run build_runner build` to refresh.',
);
}
return t.toStep();
}