contract_wrapper crate contains tests for dao_contract module, having MockContractWrapper struct, which contains an implementation of ContractWrapper trait there. The test data contains just some responses for some calls as a binary representation. To make tests more clean and improve it's readability, it's better to use some structs with pre-defined values and then serialize them to the expected format.
contract_wrappercrate contains tests fordao_contractmodule, havingMockContractWrapperstruct, which contains an implementation ofContractWrappertrait there. The test data contains just some responses for some calls as a binary representation. To make tests more clean and improve it's readability, it's better to use some structs with pre-defined values and then serialize them to the expected format.