public class IdentityExpectationErrorTranslator extends java.lang.Object implements ExpectationErrorTranslator
ExpectationErrorTranslator that doesn't do any translation.
It returns the ExpectationError it is given.| Modifier and Type | Field and Description |
|---|---|
static IdentityExpectationErrorTranslator |
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Error |
translate(ExpectationError e)
Translates the given
ExpectationError into an error
type compatible with another testing framework. |
public static final IdentityExpectationErrorTranslator INSTANCE
public java.lang.Error translate(ExpectationError e)
ExpectationErrorTranslatorExpectationError into an error
type compatible with another testing framework.translate in interface ExpectationErrorTranslatore - The ExpectationError to translate.