Class ArrayAssertions

java.lang.Object
org.soliscode.test.assertions.ArrayAssertions

public final class ArrayAssertions extends Object
A collection of utility methods that support asserting conditions on arrays in tests.
Since:
1.0.0
Author:
evanbergstrom
  • Method Details

    • assertLengthEquals

      public static void assertLengthEquals(int expected, Object[] actual)
      Assert that an array has an expected length.
      Parameters:
      expected - the expected length of the array
      actual - the actual array