Closed BouCyr closed 1 year ago
So that components does not rely on "XXX.getInstance()" anymore.
They should take their dependencies as constructor parameters, provided by a centralized context.
Those dependencies should be limited to functionalinterfaces, to allow easy unit testing.
Components now built using constructors. New Dependenciesbuilder class wires eveything at startup
So that components does not rely on "XXX.getInstance()" anymore.
They should take their dependencies as constructor parameters, provided by a centralized context.
Those dependencies should be limited to functionalinterfaces, to allow easy unit testing.