Class ArrayAssertions
java.lang.Object
org.soliscode.test.assertions.ArrayAssertions
A collection of utility methods that support asserting conditions on arrays in tests.
- Since:
- 1.0.0
- Author:
- evanbergstrom
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertLengthEquals
(int expected, Object[] actual) Assert that an array has an expected length.
-
Method Details
-
assertLengthEquals
Assert that an array has an expected length.- Parameters:
expected
- the expected length of the arrayactual
- the actual array
-