menu class Assertion method searchtoBeDefinedEvaluates toBeUndefined().toBeDefined(): voidRelatedclass AssertionRepresents a value ready to be asserted.