Function: setConsumptionContract(IConsumption _consumptionContract)
This function sets the consumption contract address in the calling contract.
Inputs
_consumptionContractControl: Controlled by the admin.
Constraints: Address must not be zero.
Impact: Updates the
consumptionContractstate variable with the provided address.
Branches and code coverage
Intended branches
Updating the
consumptionContractstate variable.
Negative behavior
Ensuring caller is an admin.
_consumptionContractmust not be a zero address.