Top Description Fields Constructors Methods
org.assertj.core.error

public Class ShouldBeAnArray

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating that a group of elements should have been an array.
Author
Joel Costigliola

Field Summary

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
argumentsformatformatter

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ErrorMessageFactory

Returns:

the created of ErrorMessageFactory.
shouldBeAnArray
(Object
the object value in the failed assertion.
object
)

Creates a new instance of org.assertj.core.error.ShouldBeAnArray.

Inherited from org.assertj.core.error.BasicErrorMessageFactory:
createcreatecreateequalshashCodetoStringunquotedString

Constructor Detail

ShouldBeAnArrayback to summary
private ShouldBeAnArray(Object object)

Method Detail

shouldBeAnArrayback to summary
public static ErrorMessageFactory shouldBeAnArray(Object object)

Creates a new instance of org.assertj.core.error.ShouldBeAnArray.

Parameters
object:Object

the object value in the failed assertion.

Returns:ErrorMessageFactory

the created of ErrorMessageFactory.