Junit tests for DependencyInjectionResolver class