public class AssertNullException extends AssertException
assertNull
fails.Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ASSERTION_TYPE |
protected java.lang.Object |
cmp
Objects which should have be equal
|
protected java.lang.Object |
ref
Objects which should have be equal
|
ENTRY_KEY_ASSERTION_TYPE
errorCode
Constructor and Description |
---|
AssertNullException() |
Modifier and Type | Method and Description |
---|---|
void |
addDescription(TestReport report)
Requests that the exception populates the TestReport with the
relevant information.
|
java.lang.String |
getAssertionType()
Returns the type of assertion which failed.
|
getTestReport
addStackTraceDescription
public static final java.lang.String ASSERTION_TYPE
protected java.lang.Object ref
protected java.lang.Object cmp
public void addDescription(TestReport report)
addDescription
in class AssertException
public java.lang.String getAssertionType()
AssertException
getAssertionType
in class AssertException