Class NuxeoServiceMockAnnotationProcessor

java.lang.Object
org.nuxeo.runtime.mockito.NuxeoServiceMockAnnotationProcessor
All Implemented Interfaces:
org.mockito.internal.configuration.FieldAnnotationProcessor<org.mockito.Mock>

public class NuxeoServiceMockAnnotationProcessor extends Object implements org.mockito.internal.configuration.FieldAnnotationProcessor<org.mockito.Mock>
Since:
5.7.8
  • Constructor Details

    • NuxeoServiceMockAnnotationProcessor

      public NuxeoServiceMockAnnotationProcessor()
  • Method Details

    • process

      public Object process(org.mockito.Mock annotation, Field field)
      Specified by:
      process in interface org.mockito.internal.configuration.FieldAnnotationProcessor<org.mockito.Mock>
    • bindMockAsNuxeoService

      protected void bindMockAsNuxeoService(Field field, Object mock)