public class AssertionErrorCreator extends Object
Constructor and Description |
---|
AssertionErrorCreator() |
AssertionErrorCreator(ConstructorInvoker constructorInvoker) |
Modifier and Type | Method and Description |
---|---|
AssertionError |
assertionError(String message,
Object actual,
Object expected) |
AssertionError |
multipleAssertionsError(Description description,
List<? extends AssertionError> errors) |
AssertionError |
multipleSoftAssertionsError(List<? extends Throwable> errors) |
void |
tryThrowingMultipleFailuresError(List<? extends Throwable> errorsCollected) |
public AssertionErrorCreator()
public AssertionErrorCreator(ConstructorInvoker constructorInvoker)
public AssertionError assertionError(String message, Object actual, Object expected)
public AssertionError multipleSoftAssertionsError(List<? extends Throwable> errors)
public AssertionError multipleAssertionsError(Description description, List<? extends AssertionError> errors)
Copyright © 2014–2019 AssertJ. All rights reserved.