Hi, maybe i am missing something, but how do i unit test Services that have dependencies which are injected (usually) by the DependencyManager ? Is there anything else than injecting those mocks via manual reflection ?
On the other hand, usually the approach is to support constructor injection instead of field injection. Any thought in this direction at DependencyManager ? Even if not, i would propose giving those services a catch-all constructor which can be used in out of container scenarios (testing). (would be great if dependencymanager could live with that alone). Toni -- Toni Menzel Independent Software Developer Professional Profile: http://okidokiteam.com [email protected] http://www.ops4j.org - New Energy for OSS Communities - Open Participation Software.
