daily pastebin goal
68%
SHARE
TWEET

Untitled

a guest Jun 19th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. namespace PHPMD\Rule\CleanCode;
  3. use PHPMD\AbstractTest;
  4.  
  5. class ErrorControlOperatorTest extends AbstractTest
  6. {
  7.     public function testRuleDoesNotApplyToClassesWithoutUnaryOperators()
  8.     {
  9.         $rule = new ErrorControlOperator();
  10.         $rule->setReport($this->getReportMock(0));
  11.         $rule->apply($this->getFunction());
  12.     }
  13. }
RAW Paste Data
Top