public function testAddMessage() { $this->messages->add(new Message('One')); $this->assertEquals('One', $this->messages->get(0)); }