Example #1
0
 public function testOutput()
 {
     $commit = new Commit(new Project('Twig'), '7d78d5f7a8c039059046d6c5e1d7f66765bd91c7');
     $commit->setOutput('foo');
     $this->assertEquals('foo', $commit->getOutput());
     $commit->setOutput("foo");
     $this->assertEquals('<strong>foo</strong>', $commit->getDecoratedOutput());
 }