|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
AbstractThrowableProcessingInvocationHandler.AbstractThrowableProcessingInvocationHandler(Object, Class, boolean) .
com.googlecode.catchexception.throwable.apis.BDDCatchThrowable()com.googlecode.catchexception.throwable.apis.BDDCatchThrowable()matchers to match some throwable properties.MethodProxy.helper(io.codearte.catchexception.shade.mockito.cglib.proxy.MethodProxy.CreateInfo, java.lang.Class).
AbstractThrowableProcessingInvocationHandler.AbstractThrowableProcessingInvocationHandler(Object, Class, boolean) .
com.googlecode.catchthrowable.apis.CatchThrowableHamcrestMatchers.com.googlecode.catchthrowable.CatchThrowable
(the primary API).assertThat(caughtThrowable(), hasMessage("Index: 9, Size: 9"));
- hasMessageThat(Matcher<String>) -
Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
- EXAMPLES:
assertThat(caughtThrowable(), hasMessageThat(is("Index: 9, Size: 9")));
assertThat(caughtThrowable(), hasMessageThat(containsString("Index: 9"))); // using JUnitMatchers
assertThat(caughtThrowable(), hasMessageThat(containsPattern("Index: \\d+"))); // using Mockito's Find
- hasNoCause() -
Static method in class com.googlecode.catchexception.throwable.apis.CatchThrowableHamcrestMatchers
- EXAMPLE:
assertThat(caughtThrowable(), hasNoCause());
InterfaceOnlyProxyFactory.ProxyFactory create proxies that implements all interfaces of
the underlying object including the marker interface
InterfaceOnlyProxy.caught throwable to null.
Serializable.
ThrowableHolder.caughtThrowable.
SubclassProxyFactory.ProxyFactory uses Mockito's jmock package to create proxies that subclass from the target's class.AbstractThrowableProcessingInvocationHandler.AbstractThrowableProcessingInvocationHandler(Object, Class, boolean) .
DelegatingInterceptor.DelegatingInterceptor(Object).
BDDAssertions#then(Throwable) instead
per Thread.matcher that matches an throwable with a certain
message.matcher that matches an throwable that has no cause.AbstractThrowableProcessingInvocationHandler implements MethodInterceptor for Mockito's cglib
variant.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||