Class ShouldBeAnArray

All Implemented Interfaces:
ErrorMessageFactory

public class ShouldBeAnArray extends BasicErrorMessageFactory
Creates an error message indicating that a group of elements should have been an array.
Author:
Joel Costigliola
  • Method Details

    • shouldBeAnArray

      public static ErrorMessageFactory shouldBeAnArray(Object object)
      Creates a new instance of ShouldBeAnArray.
      Parameters:
      object - the object value in the failed assertion.
      Returns:
      the created of ErrorMessageFactory.