expectedDeprecated() public method

public expectedDeprecated ( )
 /**
  * Overload WP_UnitTestcase to ignore deprecated notices
  * thrown by use of wp_title() in Timber
  */
 public function expectedDeprecated()
 {
     if (false !== ($key = array_search('wp_title', $this->caught_deprecated))) {
         unset($this->caught_deprecated[$key]);
     }
     parent::expectedDeprecated();
 }