Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-14779

InfinispanBean.isExpired fails with SE 15

XMLWordPrintable

    • Undefined

      One of the failures on our runs using SE 15[1] is:

      org.mockito.exceptions.base.MockitoException: 
      Cannot call abstract real method on java object!
      Calling real methods is only possible when mocking non abstract method.
        //correct example:
        when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
      org.mockito.exceptions.base.MockitoException: 
      
      Cannot call abstract real method on java object!
      Calling real methods is only possible when mocking non abstract method.
        //correct example:
        when(mockOfConcreteClass.nonAbstractMethod()).thenCallRealMethod();
      	at org.wildfly.clustering.ejb.infinispan.bean.InfinispanBean.isExpired(InfinispanBean.java:79)
      	at org.wildfly.clustering.ejb.infinispan.bean.InfinispanBeanTestCase.isExpired(InfinispanBeanTestCase.java:97)
      

      [1] https://ci.wildfly.org/viewLog.html?buildId=255309&tab=buildResultsDiv&buildTypeId=WF_Ee9LinuxJdk15

            pferraro@redhat.com Paul Ferraro
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: