public static EncodableThrowable forThrowable(Throwable throwable) {
    EncodableThrowable comparable = new EncodableThrowable();
    comparable.throwable = throwable;
    return comparable;
  }
@Test
  public void testEqualsNonComparable() {
    assertNotEquals(EncodableThrowable.forThrowable(new Exception()), new Throwable());
  }