/** * testRuleAppliesToClassWithNumberOfParentGreaterThanThreshold * * @return void */ public function testRuleAppliesToClassWithNumberOfParentGreaterThanThreshold() { $rule = new DepthOfInheritance(); $rule->setReport($this->getReportMock(1)); $rule->addProperty('minimum', '42'); $rule->apply($this->getClassMock('dit', 43)); }