get Stub
Deprecated
Use findStubByName, which returns null instead of throwing
Replace with
findStubByName(name)Content copied to clipboard
Returns the registered stub with the given name.
Only stubs registered with an explicit StubConfiguration.name can be retrieved.
Return
A StubHandle for the matching stub.
Parameters
name
The name assigned to the stub at registration time.
Throws
if no stub with that name exists.
if multiple stubs share that name.