Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-733

Don't mock Provider by default

    XMLWordPrintable

Details

    • N/A
    • N/A

    Description

      Provider is a special type like Logger which has an implementation by default so no need to mock it. It actually produce misleading test behavior since Provider#get is supposed to never return null in most cases.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: