Does exist any way to test a subclass that extends another class isolated from parent class?
I am working on java. I have this class ConfigServer
that extends the class GeneralServer
, to clarify I mean: public class ConfigServer extends GeneralServer
. What I want to do is to create an instance of ConfigServer
but isolated from the superclass functionality. Is possible programmatically to make something like this in a way that the solution wouldn’t affect the current architecture and inheritance?