Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3951

Make sure TestingUtil.replaceComponent is only called after mock is fully configured

    XMLWordPrintable

    Details

      Description

      Some of our tests replace existing components. Unfortunately these could be replaced with mocks that aren't fully initialized until the next line. This can cause spurious test failures.

        Attachments

          Activity

            People

            Assignee:
            william.burns Will Burns
            Reporter:
            william.burns Will Burns
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: