3 ms·
Perhaps having some abstract class with a real and mock implementation inheriting from it, which can then be injected into your code for testing other component
by dan-robertson 3y ago
Perhaps having some abstract class with a real and mock implementation inheriting from it, which can then be injected into your code for testing other components is one example.