Could you patch `enstaller.config.warnings.warn` and assert that a call is made?