Description
Write unit tests validating creation and queries in test.rs:
- Mock env and token setup.
- Execute
create_plan with valid and invalid parameters.
- Query using
get_plan and verify struct values.
Acceptance Criteria
- Tests compile and run successfully via
cargo test.
- Assertions cover all field mappings and token balances.
Description
Write unit tests validating creation and queries in
test.rs:create_planwith valid and invalid parameters.get_planand verify struct values.Acceptance Criteria
cargo test.