title: Mockito mock objects returns null
body: <p>I try to implement some tests for my JSF application and for the mocks I am using mockito. (I also use spring)</p>
  
  <pre><code>@RunWith(MockitoJUnitRunner.class)
  public class GeneralConfigServiceImplTest  {
  
      private GeneralConfigService generalConfigService;
  
      @Mock
      private GeneralConfigDAO generalConfigDAO;
  
      @Mock
      private GeneralConfig gen;
  
      @Before
      public void setUp() {
          MockitoAnnotations.initMocks(this);
          generalConfigService = new GeneralConfigService();
          ReflectionTestUtils.setField(generalConfigService, "generalConfigDAO", generalConfigDAO);                  
      }
  
      @Test
      public void testAddGeneralConfigCallDAOSuccess() throws DAOException, EntityNullException, IllegalEntityArgumentException, ParseException, EntityPersistException {
          gen = createGeneralConfigs("label", "value");
  
          generalConfigService.setInstance(gen);
          generalConfigService.persist();
          log.info(generalConfigService.getInstance().toString());
      }
  }
  </code></pre>
  
  <p>The test succeeds, but when I want to retrieve the instance with the <code>getInstance</code> method. All Parameters which I have set before (via the constructor before) are null. 
  I am new to mocked objects, so is this behavior normal, or is there a mistake in my code? </p>