### Question:
ErrorHandling { void handleErrorByThrowingIllegalArgumentExceptionWithDetailMessage(String message) { throw new UnsupportedOperationException("Delete this statement and write your own implementation."); }    }### Answer:
@Ignore("Remove to run test") @Test public void testThrowIllegalArgumentExceptionWithDetailMessage() { IllegalArgumentException expected = assertThrows( IllegalArgumentException.class, () -> errorHandling .handleErrorByThrowingIllegalArgumentExceptionWithDetailMessage( "This is the detail message.")); assertThat(expected).hasMessage("This is the detail message."); }