public final class JetAssert extends Object
| Modifier and Type | Method and Description | 
|---|---|
| static void | assertEquals(String message,
            Object expected,
            Object actual)Asserts that the two given objects are equal, when compared using
  Object.equals(Object). | 
| static void | assertFalse(String message,
           boolean condition)Asserts that the given condition is  false. | 
| static void | assertSame(String message,
          Object expected,
          Object actual)Asserts that the two given objects are the same, when compared using
 the  ==operator and if not, anAssertionErroris thrown
 with the given message. | 
| static void | assertTrue(String message,
          boolean condition)Asserts that the given condition is  true. | 
| static void | fail(String message)Throws an  AssertionErrorwith the given message. | 
public static void assertTrue(@Nullable String message, boolean condition)
true. If not, an
 AssertionError is thrown with the given message.public static void assertFalse(@Nullable String message, boolean condition)
false. If not, an
 AssertionError is thrown with the given message.public static void assertSame(@Nullable String message, @Nullable Object expected, @Nullable Object actual)
== operator and if not, an AssertionError is thrown
 with the given message.public static void assertEquals(@Nullable String message, @Nullable Object expected, @Nullable Object actual)
Object.equals(Object). If they are not equal, an
 AssertionError is thrown with the given message.public static void fail(@Nullable String message)
AssertionError with the given message.Copyright © 2022 Hazelcast, Inc.. All rights reserved.