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

@MockComponent ignores type parameters (generics)

    XMLWordPrintable

    Details

    • Difficulty:
      Medium
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response: