sample_resources

Function sample_resources 

Source
pub fn sample_resources() -> Vec<MockResource>
Expand description

Create a set of sample resources for testing.

Returns resources:

  • test://readme: A sample README file
  • test://config: A sample configuration file
  • test://data: Sample JSON data