Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1889

Switch to mockito to allow mock 'final'

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Right now undertow depends on easymock. THough there are no tests using it as of now. One drawback of it is that easymock does not allow to stub final classes. This actually made test for some changes, ie. UNDERTOW-1801 not possible. Easiest way to allow such testing is to switch/add powermock https://github.com/powermock/powermock/wiki/EasyMock

            rhn-cservice-bbaranow Bartosz Baranowski
            rhn-cservice-bbaranow Bartosz Baranowski
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: