Comment by [email protected]:
What makes RealBillingService "real"? To me it looks like the injector
configuration determines the behavior of the BillingService. If
BillingModule maps CreditCardProcessor.class to MyMockProcessor.class,
RealBillingService would become a "mock" BillingService, right? I.e.
wouldn't BillingService and RealBillingModule be better names (using
MockBillingModule when testing)? Or am I missing something?
For more information:
http://code.google.com/p/google-guice/wiki/GettingStarted
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-guice-dev?hl=en.