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

@MockComponent ignores type parameters (generics)

    XMLWordPrintable

Details

    • Medium
    • N/A
    • N/A

    Description

      The effect is that the component obtained with @MockComponent is different than the mock component injected into the tested component (@InjectMockComponents) so whatever constraints you put on the first (using Mockito) doesn't affect the second.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: