/** * @param InterfaceDeprecation $interfaceDeprecation */ public function addInterfaceDeprecation(InterfaceDeprecation $interfaceDeprecation) { $this->interfaceDeprecations[$interfaceDeprecation->name()] = $interfaceDeprecation; }
public function testGetComment() { $interfaceDeprecation = new InterfaceDeprecation('interfaceName', 'comment'); $this->assertSame('comment', $interfaceDeprecation->comment()); }