zephyr_vm

Trait ZephyrMock

source
pub trait ZephyrMock {
    // Required method
    fn mocked() -> Result<Self>
       where Self: Sized;
}
Expand description

Standard mocked Zephyr object. This trait must be implemented for all components that are encompassed by the Zephyr VM that required mocks for testing.

Required Methods§

source

fn mocked() -> Result<Self>
where Self: Sized,

Returns the mocked object.

Implementors§