private FieldInitializationReport initializeInjectMocksField(Field field, Object fieldOwner) { try { return new FieldInitializer(fieldOwner, field).initialize(); } catch (MockitoException e) { if(e.getCause() instanceof InvocationTargetException) { Throwable realCause = e.getCause().getCause(); throw fieldInitialisationThrewException(field, realCause); } throw cannotInitializeForInjectMocksAnnotation(field.getName(),e.getMessage()); } }