Spring Factory bean and Mockito