pub fn create_proxy_and_mock() -> Result<(ControllerProxy, MockController)>
Expand description

Create a Zircon channel and return both endpoints with the server end bound to a MockController.

NOTE: This function instantiates FIDL bindings and thus requires a fuchsia-async executor to have been created beforehand.