Class ExceptionClassMatcher

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

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

      Constructors 
      Constructor Description
      ExceptionClassMatcher​(java.lang.Class exceptionClass)  
    • 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

      • ExceptionClassMatcher

        public ExceptionClassMatcher​(java.lang.Class exceptionClass)
    • Method Detail

      • matches

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