diff -r 000000000000 -r 7f95f8617b0b vendor/assetic/tests/Assetic/Test/Util/TraversableStringTest.php --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vendor/assetic/tests/Assetic/Test/Util/TraversableStringTest.php Sat Sep 24 15:40:41 2011 +0200 @@ -0,0 +1,35 @@ +assertEquals('foo', (string) $foo); + } + + public function testArray() + { + $foo = new TraversableString('foo', array('foo', 'bar')); + + $values = array(); + foreach ($foo as $value) { + $values[] = $value; + } + + $this->assertEquals(array('foo', 'bar'), $values); + } +}