test_class.file: matchers/src/test/java/org/cthul/matchers/exceptions/CausedByTest.java
test_class.identifier: CausedByTest
test_case.body: @Test
      public void test_mismatch_description() {
          final Matcher<Throwable> hasCause = causedBy(messageContains("x"));
          final Throwable t = new RuntimeException("a",
                              new RuntimeException("b",
                              new RuntimeException("c")));
          
          assertThat("Matching fails", hasCause.matches(t), is(false));
          
          StringDescription desc = new StringDescription();
          hasCause.describeMismatch(t, desc);
          assertThat(desc.toString(), 
                  is("cause 1 message \"b\" did not contain /x/, "
                   + "cause 2 message \"c\" did not contain /x/"));
      }
test_case.class_method_signature: CausedByTest.test_mismatch_description()
test_case.full_signature: @Test public void test_mismatch_description()
test_case.identifier: test_mismatch_description
test_case.invocations: causedBy messageContains assertThat matches is describeMismatch assertThat toString is
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void test_mismatch_description()
focal_class.declarator: direct
focal_class.modifier: private final
focal_class.original_string: private final boolean direct;
focal_class.type: boolean
focal_class.var_name: direct
focal_class.declarator: throwableMatcher
focal_class.modifier: private final
focal_class.original_string: private final Matcher<? super Throwable> throwableMatcher;
focal_class.type: Matcher<? super Throwable>
focal_class.var_name: throwableMatcher
focal_class.file: matchers/src/main/java/org/cthul/matchers/exceptions/CausedBy.java
focal_class.identifier: CausedBy
focal_class.class_method_signature: CausedBy.CausedBy(boolean direct, Matcher<? super Throwable> m)
focal_class.full_signature: public  CausedBy(boolean direct, Matcher<? super Throwable> m)
focal_class.identifier: CausedBy
focal_class.modifiers: public
focal_class.parameters: (boolean direct, Matcher<? super Throwable> m)
focal_class.signature:  CausedBy(boolean direct, Matcher<? super Throwable> m)
focal_class.class_method_signature: CausedBy.getDescriptionPrecedence()
focal_class.full_signature: @Override public int getDescriptionPrecedence()
focal_class.identifier: getDescriptionPrecedence
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getDescriptionPrecedence()
focal_class.class_method_signature: CausedBy.matchesSafely(Throwable ex)
focal_class.full_signature: @Override protected boolean matchesSafely(Throwable ex)
focal_class.identifier: matchesSafely
focal_class.modifiers: @Override protected
focal_class.parameters: (Throwable ex)
focal_class.return: boolean
focal_class.signature: boolean matchesSafely(Throwable ex)
focal_class.class_method_signature: CausedBy.describeTo(Description description)
focal_class.full_signature: @Override public void describeTo(Description description)
focal_class.identifier: describeTo
focal_class.modifiers: @Override public
focal_class.parameters: (Description description)
focal_class.return: void
focal_class.signature: void describeTo(Description description)
focal_class.class_method_signature: CausedBy.matchResultSafely(I ex)
focal_class.full_signature: @Override protected MatchResult<I> matchResultSafely(I ex)
focal_class.identifier: matchResultSafely
focal_class.modifiers: @Override protected
focal_class.parameters: (I ex)
focal_class.return: MatchResult<I>
focal_class.signature: MatchResult<I> matchResultSafely(I ex)
focal_class.class_method_signature: CausedBy.successResult(I ex, final int index, final MatchResult.Match<Throwable> nested)
focal_class.full_signature: private MatchResult<I> successResult(I ex, final int index, final MatchResult.Match<Throwable> nested)
focal_class.identifier: successResult
focal_class.modifiers: private
focal_class.parameters: (I ex, final int index, final MatchResult.Match<Throwable> nested)
focal_class.return: MatchResult<I>
focal_class.signature: MatchResult<I> successResult(I ex, final int index, final MatchResult.Match<Throwable> nested)
focal_class.class_method_signature: CausedBy.failResult(I ex, final List<MatchResult.Mismatch<Throwable>> nested)
focal_class.full_signature: private MatchResult<I> failResult(I ex, final List<MatchResult.Mismatch<Throwable>> nested)
focal_class.identifier: failResult
focal_class.modifiers: private
focal_class.parameters: (I ex, final List<MatchResult.Mismatch<Throwable>> nested)
focal_class.return: MatchResult<I>
focal_class.signature: MatchResult<I> failResult(I ex, final List<MatchResult.Mismatch<Throwable>> nested)
focal_class.class_method_signature: CausedBy.causedBy(Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy causedBy(Matcher<? super Throwable> matcher)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(Matcher<? super Throwable> matcher)
focal_class.class_method_signature: CausedBy.causedBy(Class<? extends Throwable> clazz)
focal_class.full_signature: @Factory public static CausedBy causedBy(Class<? extends Throwable> clazz)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(Class<? extends Throwable> clazz)
focal_class.class_method_signature: CausedBy.causedBy(String message)
focal_class.full_signature: @Factory public static CausedBy causedBy(String message)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (String message)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(String message)
focal_class.class_method_signature: CausedBy.causedBy(Class<? extends Throwable> clazz, String message)
focal_class.full_signature: @Factory public static CausedBy causedBy(Class<? extends Throwable> clazz, String message)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, String message)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(Class<? extends Throwable> clazz, String message)
focal_class.class_method_signature: CausedBy.causedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy causedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.class_method_signature: CausedBy.causedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy causedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.identifier: causedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy causedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.class_method_signature: CausedBy.directlyCausedBy(Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy directlyCausedBy(Matcher<? super Throwable> matcher)
focal_class.identifier: directlyCausedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy directlyCausedBy(Matcher<? super Throwable> matcher)
focal_class.class_method_signature: CausedBy.directlyCausedBy(Class<? extends Throwable> clazz)
focal_class.full_signature: @Factory public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz)
focal_class.identifier: directlyCausedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz)
focal_class.return: CausedBy
focal_class.signature: CausedBy directlyCausedBy(Class<? extends Throwable> clazz)
focal_class.class_method_signature: CausedBy.directlyCausedBy(Class<? extends Throwable> clazz, String message)
focal_class.full_signature: @Factory public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz, String message)
focal_class.identifier: directlyCausedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, String message)
focal_class.return: CausedBy
focal_class.signature: CausedBy directlyCausedBy(Class<? extends Throwable> clazz, String message)
focal_class.class_method_signature: CausedBy.directlyCausedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.identifier: directlyCausedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy directlyCausedBy(Class<? extends Throwable> clazz, Matcher<? super Throwable> matcher)
focal_class.class_method_signature: CausedBy.directlyCausedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.full_signature: @Factory public static CausedBy directlyCausedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.identifier: directlyCausedBy
focal_class.modifiers: @Factory public static
focal_class.parameters: (Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.return: CausedBy
focal_class.signature: CausedBy directlyCausedBy(Class<? extends Throwable> clazz, String message, Matcher<? super Throwable> matcher)
focal_class.superclass: extends TypesafeNestedResultMatcher<Throwable>
focal_method.body: public CausedBy(boolean direct, Matcher<? super Throwable> m) {
          super(Throwable.class);
          this.direct = direct;
          this.throwableMatcher = m;
      }
focal_method.class_method_signature: CausedBy.CausedBy(boolean direct, Matcher<? super Throwable> m)
focal_method.full_signature: public  CausedBy(boolean direct, Matcher<? super Throwable> m)
focal_method.identifier: CausedBy
focal_method.modifiers: public
focal_method.parameters: (boolean direct, Matcher<? super Throwable> m)
focal_method.signature:  CausedBy(boolean direct, Matcher<? super Throwable> m)