diff --git a/tests/HtmlBuilderTest.php b/tests/HtmlBuilderTest.php index 2f2cc75..f2c18cd 100644 --- a/tests/HtmlBuilderTest.php +++ b/tests/HtmlBuilderTest.php @@ -55,4 +55,13 @@ class HtmlBuilderTest extends PHPUnit_Framework_TestCase { $this->assertEquals(''.PHP_EOL, $result); } + public function testFavicon() + { + $this->urlGenerator->forceRootUrl('http://foo.com'); + $target = $this->urlGenerator->to('bar.ico'); + $result = $this->htmlBuilder->favicon('http://foo.com/bar.ico'); + + $this->assertEquals('' . PHP_EOL, $result); + } + } \ No newline at end of file