expectedDeprecated() public method

public expectedDeprecated ( )
 public function expectedDeprecated()
 {
     $not_caught_deprecated_file = array_diff($this->expected_deprecated_file, $this->caught_deprecated_file);
     foreach ($not_caught_deprecated_file as $not_caught) {
         $this->fail("Failed to assert that {$not_caught} triggered a deprecated file notice");
     }
     $unexpected_deprecated_file = array_diff($this->caught_deprecated_file, $this->expected_deprecated_file);
     foreach ($unexpected_deprecated_file as $unexpected) {
         $this->fail("Unexpected deprecated file: {$unexpected}");
     }
     parent::expectedDeprecated();
 }