2 ms·
You shouldn't need to mock a sealed class in the first place. Consider them like a more powerful enum or an algebraic data type. You wouldn't mock en enum eith
by goto11 5y ago
You shouldn't need to mock a sealed class in the first place. Consider them like a more powerful enum or an algebraic data type.
You wouldn't mock en enum either (hopefully).