Class ExceptionClassAndCauseClassMatcher

  • All Implemented Interfaces:
    org.mockito.ArgumentMatcher<java.lang.Exception>

    public class ExceptionClassAndCauseClassMatcher
    extends java.lang.Object
    implements org.mockito.ArgumentMatcher<java.lang.Exception>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matches​(java.lang.Exception argument)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.mockito.ArgumentMatcher

        type
    • Constructor Detail

      • ExceptionClassAndCauseClassMatcher

        public ExceptionClassAndCauseClassMatcher​(java.lang.Class exceptionClass,
                                                  java.lang.Class causeClass)
    • Method Detail

      • matches

        public boolean matches​(java.lang.Exception argument)
        Specified by:
        matches in interface org.mockito.ArgumentMatcher<java.lang.Exception>