public final class AssertionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
fail()
Fail an assertion, which will throw an
AssertionError with no message. |
static void |
fail(String message)
Fail an assertion, which will throw an
AssertionError with the specified message. |
public static void fail()
AssertionError with no message.public static void fail(String message)
AssertionError with the specified message.message - A message detailing the assertion failure.Copyright © 2010–2020 meanbean. All rights reserved.