Example #1
0
 public function testYouCanClearTheMessages()
 {
     $this->sut->add(new StringType('foo'));
     $this->assertEquals('foo', (string) $this->sut);
     $this->assertEquals('', (string) $this->sut->clear());
 }