The assertion method used to check if a function returns a boolean true is called ________.

  • assert_bool
  • assert_boolean
  • assert_true
  • assert_truthy
In CodeIgniter, the assertTrue method in PHPUnit is used to assert that a certain expression evaluates to true. This is commonly used to verify that a function returns a boolean true value.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *