Package org.assertj.core.error
Interface AssertionErrorFactory
- All Known Implementing Classes:
ShouldBeEqual
public interface AssertionErrorFactory
Factory of
AssertionError
s.- Author:
- Alex Ruiz, Yvonne Wang
-
Method Summary
Modifier and TypeMethodDescriptionnewAssertionError
(Description description, Representation representation) Creates an
.AssertionError
-
Method Details
-
newAssertionError
Creates an
.AssertionError
- Parameters:
description
- the description of the failed assertion.representation
- the Representation used- Returns:
- the created
AssertionError
.
-