menu class Assertion method searchtoBeUndefinedEvaluates toBe(undefined).toBeUndefined(): voidRelatedclass AssertionRepresents a value ready to be asserted.