org.assertj.core.error
Class ShouldBeAnArray

java.lang.Object
  extended by org.assertj.core.error.BasicErrorMessageFactory
      extended by org.assertj.core.error.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

Field Summary
 
Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory
arguments, format
 
Method Summary
static ErrorMessageFactory shouldBeAnArray(Object object)
          Creates a new instance of ShouldBeAnArray.
 
Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory
create, create, equals, hashCode, toString, unquotedString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

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.


Copyright © 2013–2015 AssertJ. All rights reserved.