public function testInterfaceDeprecations() { $interfaceDeprecation = $this->prophesize('SensioLabs\\DeprecationDetector\\FileInfo\\Deprecation\\InterfaceDeprecation'); $interfaceDeprecations = array('interface' => $interfaceDeprecation->reveal()); $ruleSet = new RuleSet(array(), $interfaceDeprecations); $this->assertSame($interfaceDeprecations, $ruleSet->interfaceDeprecations()); }