findStubById

Finds a registered stub by its stable unique identifier.

Unlike getStub, this method returns null instead of throwing when no stub matches, and does not require the stub to have a name.

Return

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

Parameters

id

The unique identifier returned from StubHandle.id at registration time.