MCPcopy Index your code
hub / github.com/endbasic/endbasic / get_service

Method get_service

client/src/testutils.rs:323–325  ·  view source on GitHub ↗

Gets the mock service client from the tester. This method should generally not be used. Its primary utility is to hook externally-instantiated commands into the testing features.

(&self)

Source from the content-addressed store, hash-verified

321 /// This method should generally not be used. Its primary utility is to hook
322 /// externally-instantiated commands into the testing features.
323 pub(crate) fn get_service(&self) -> Rc<RefCell<MockService>> {
324 self.service.clone()
325 }
326
327 /// See the wrapped `Tester::get_storage` function for details.
328 pub fn get_storage(&self) -> Rc<RefCell<Storage>> {

Calls

no outgoing calls

Tested by

no test coverage detected