git clone
cargo test
- Inspect the generated candid file at canisters/tests/test.did
- Notice that it contains a type
ManualReply
which doesn't have the same name as theUser
struct in canisters/test/src/lib.rstype ManualReply = record { id : text }; service : { method : () -> (ManualReply) query }