Class AssertNullException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AssertNullException
    extends AssertException
    Exception which Tests can throw when a specific assertNull fails.
    Version:
    $Id: AssertNullException.java 1733416 2016-03-03 07:07:13Z gadams $
    See Also:
    Serialized Form
    • Field Detail

      • ref

        protected java.lang.Object ref
        Objects which should have be equal
      • cmp

        protected java.lang.Object cmp
        Objects which should have be equal
    • Constructor Detail

      • AssertNullException

        public AssertNullException()
    • Method Detail

      • addDescription

        public void addDescription​(TestReport report)
        Requests that the exception populates the TestReport with the relevant information.
        Specified by:
        addDescription in class AssertException
      • getAssertionType

        public java.lang.String getAssertionType()
        Description copied from class: AssertException
        Returns the type of assertion which failed. e.g., "assertEquals"
        Specified by:
        getAssertionType in class AssertException