findStubByName

Finds a registered stub by its human-readable name.

Unlike getStub, this method returns null instead of throwing when no stub matches or when multiple stubs share the same name.

Return

A StubHandle for the first matching stub, or null if not found.

Parameters

name

The name assigned at stub registration.