s/working/initialized
# getting-started
o
s/working/initialized
s
This seems like more of a Guice/your DI framework question, but what are you trying to do? If you’re trying to make an instance of
GetHotDeals
for testing, you just call the constructor like normal, but you’ll have to provide the dependencies, likely having to mock the components it needs or instantiating single-use versions of them
o
no im trying to use it in production code
like I want to run getHotDeals.execute(SubscriberWhichHasMethodsForHandlingComplete)
s
Then you’re going to need to inject this deals service into whatever class depends on it
o
clean architecture my ass, man
code like this is garbage if so much external jargon is dependent on understanding even how it’s constructed before even using it