public final class SerializableAssert extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertSerializable(Serializable o)
Asserts that the given object serializes correctly, i.e.
|
static void |
assertSerializable(String message,
Serializable o)
Asserts that the given object serializes correctly, i.e.
|
public static void assertSerializable(String message, Serializable o)
AssertionError thrown starts with the given message, which may
be null if no such custom message prefix is desired.message - The message.o - The object.public static void assertSerializable(Serializable o)
o - The object.Copyright © 2017. All Rights Reserved.