IllegalEqualException extends RuntimeException implements IllegalArgumentHolder<Object> { @Override public Object getIllegalArgument() { return illegalArgumentValue; } IllegalEqualException(@Nullable final Object illegalArgumentValue);  IllegalEqualException(@Nullable final Object illegalArgumentValue, @Nullable final Throwable cause);  IllegalEqualException(@Nonnull final String message, @Nullable final Object illegalArgumentValue);  IllegalEqualException(@Nonnull final String message, @Nullable final Object illegalArgumentValue, @Nullable final Throwable cause); @Override Object getIllegalArgument();  }
@Test public void testGetIllegalArgument() { final IllegalArgumentHolder<Object> iah = new IllegalEqualException(2); Assert.assertEquals(Integer.valueOf(2), iah.getIllegalArgument()); }