public function testMethodDeprecations() { $methodDeprecation = $this->prophesize('SensioLabs\\DeprecationDetector\\FileInfo\\Deprecation\\MethodDeprecation'); $methodDeprecations = array('class' => array($methodDeprecation->reveal())); $ruleSet = new RuleSet(array(), array(), $methodDeprecations); $this->assertSame($methodDeprecations, $ruleSet->methodDeprecations()); }