Question d’entretien chez Agoda

How would you change the given code so that it is unit testable.

Réponse à la question d'entretien

Utilisateur anonyme

17 juil. 2021

Create an interface for all components and inject the dependencies by using a constructor that takes the interfaces as parameters

1