public function testConstructorSetsMessage() { $this->assertEquals('Warning message', $this->warning->getMessage()); }