public class ExceptionFactory extends Object
Modifier and Type | Method and Description |
---|---|
static AssertionError |
createArgumentsAreDifferentException(String message,
String wanted,
String actual)
If JUnit is used, an AssertionError is returned that extends from JUnit
ComparisonFailure and hence provide a better IDE support as the comparison result is comparable |
public static AssertionError createArgumentsAreDifferentException(String message, String wanted, String actual)
ComparisonFailure
and hence provide a better IDE support as the comparison result is comparableCopyright © 2022. All rights reserved.