There is such a problem. There is a singleton class whose instance is obtained via the getInstance () method and is further stored in the static field INSTANCE. And private static Input INSTANCE = getInstance();
When I try to do constructor.newInstance(); it first of all initializes static fields, and executes getInstance (), which in the case of testing cannot be called, I need only an empty instance. I want to direct the fields in it, and call up their complex getters.
