public void expectLogMessageWithThrowableMatcher(
      int level, String tag, String message, Matcher<Throwable> throwableMatcher) {
    expectLogMessageWithThrowable(level, tag, MsgEq.of(message), throwableMatcher);
  }
@Test
  public void testExpectLogMessageWithThrowableMatcher() {
    final IllegalArgumentException exception = new IllegalArgumentException("lorem ipsum");
    Log.e("Mytag", "What's up", exception);
    rule.expectLogMessageWithThrowableMatcher(
        Log.ERROR, "Mytag", "What's up", instanceOf(IllegalArgumentException.class));
  }