You could do the following :
public class foo{
ObjectA oa;
public foo(){
oa = SpringService.EnumInstance.LoadOa(); //uses spring to load oa
}
//package private constructor only used in unit test
foo(ObjectA oa) {
this.oa = oa;
}
}
Some people would not be to happy with this solution because you're altering a test subject for testing only purposes, but when serious refactoring is out of the question there is not much else you can do.