Functions of ballerina.mock package
function setValue(string mockableConnectorPathExpr, string value)
Modifies global connector instance's arguments for mocking purposes
Parameters:
Parameter Name | Data Type | Description |
---|---|---|
mockableConnectorPathExpr | string | A path like syntax to identify and navigate the connector instances of a ballerina service |
value | string | Mock value to set (e.g.: endpoint URL) |