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

public Class ShouldNotBeSame

extends BasicErrorMessageFactory
Class Inheritance

Creates an error message indicating an assertion that verifies that two objects do not refer to the same object failed.
Authors
Yvonne Wang, Alex Ruiz

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 ErrorMessageFactory.
shouldNotBeSame
(Object
the actual value in the failed assertion.
actual
)

Creates a new ShouldNotBeSame.

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

Constructor Detail

ShouldNotBeSameback to summary
private ShouldNotBeSame(Object actual)

Method Detail

shouldNotBeSameback to summary
public static ErrorMessageFactory shouldNotBeSame(Object actual)

Creates a new ShouldNotBeSame.

Parameters
actual:Object

the actual value in the failed assertion.

Returns:ErrorMessageFactory

the created ErrorMessageFactory.