Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-15233

Add ability to inject a MockitoOldcore instance in a field of a JUnit5 test class

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • 10.4-rc-1
    • 10.3
    • Test Framework
    • None
    • Unknown
    • N/A

    Description

      Example:`

      @OldcoreTest
      public class ImagePluginTest
      {
          @InjectMockitoOldcore
          private MockitoOldcore oldCore;
      ...
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: