Zeo
Zeo
CC#
Created by Zeo on 5/16/2023 in #help
❔ Unmockable
I have a class that wraps the functionality of an unmockable class. Now I want to unit test the wrapper class, however I can't because it uses the unmockable class. Is there any way around this? The most obvious way I can think of is writing an interface for the unmockable class and using this in the wrapper class, but I'm not sure if this is the best way to go around it
17 replies