public final class EqualityTests extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
many(List<?> objects)
Checks equality for many object.
|
static void |
many(Object... objects)
Checks equality for many object.
|
static void |
one(Object obj)
Checks equality for one object.
|
static void |
two(Object obj1,
Object obj2)
Checks equality for two objects.
|
public static void one(Object obj)
obj - Object to test.public static void two(Object obj1, Object obj2)
obj1 - First object to test.obj1 - Second object to test.public static void many(@Nullable List<?> objects)
two(Object, Object)), so that the relation is transitive.objects - Objects to test.public static void many(Object... objects)
two(Object, Object)), so that the relation is transitive.objects - Objects to test.Copyright © 2014. All rights reserved.