Class ExceptionClassAndCauseClassMatcher

java.lang.Object
com.linkedin.venice.unit.matchers.ExceptionClassAndCauseClassMatcher
All Implemented Interfaces:
org.mockito.ArgumentMatcher<Exception>

public class ExceptionClassAndCauseClassMatcher extends Object implements org.mockito.ArgumentMatcher<Exception>
  • Constructor Details

    • ExceptionClassAndCauseClassMatcher

      public ExceptionClassAndCauseClassMatcher(Class exceptionClass, Class causeClass)
  • Method Details

    • matches

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