I\'m trying to mock a function and use the benefits from Typescript but I can\'t find the best way to do it. A bit of context, I want to test a class who use a Keycloak inst