Which of the following inbuilt matcher just compares if the outcome of the operation sent as an argument to this method matches or not?

13. Which of the following inbuilt matcher just compares if the outcome of the operation sent as an argument to this method matches or not?

  1. Equal ()
  2. toMatch ()
  3. toEqual ()

Answer: C) toEqual ()

Explanation:

toEqual () just compares if the outcome of the operation sent as an argument to this method matches or not.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.