public final class CollectionAssert extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
assertArrayPermutation(String message,
T[] expected,
T[] actual)
Asserts that the two given arrays are permutations of each
other.
|
static <T> void |
assertArrayPermutation(T[] expected,
T[] actual)
Asserts that the two given arrays are permutations of each
other.
|
public static <T> void assertArrayPermutation(String message, T[] expected, T[] actual)
AssertionError thrown
starts with the given message, which may be null if no such
custom message prefix is desired.T - a T valuemessage - The identifying message.expected - The expected array.actual - The actual array.public static <T> void assertArrayPermutation(T[] expected,
T[] actual)
T - a T valueexpected - The expected array.actual - The actual array.Copyright © 2019. All rights reserved.