mock

Remark :

The test would then mock the dependencies needed for it to run in isolation.