diff --git a/core/lib/Thelia/Tests/Core/Template/Loop/TitleTest.php b/core/lib/Thelia/Tests/Core/Template/Loop/TitleTest.php new file mode 100755 index 000000000..c506c22f5 --- /dev/null +++ b/core/lib/Thelia/Tests/Core/Template/Loop/TitleTest.php @@ -0,0 +1,53 @@ +. */ +/* */ +/*************************************************************************************/ + +namespace Thelia\Tests\Core\Template\Loop; + +use Thelia\Core\Template\Loop\Title; + +/** + * + * @author Etienne Roudeix + * + */ +class TitleTest extends \PHPUnit_Framework_TestCase +{ + public function testGetArgDefinitions() + { + $title = new Title(); +/* + $this->assertTrue($collection->getCount() == 3); + + $this->assertTrue($collection->key() == 'arg0'); + $collection->next(); + $this->assertTrue($collection->key() == 'arg1'); + $collection->next(); + $this->assertTrue($collection->key() == 'arg2'); + $collection->next(); + + $this->assertFalse($collection->valid()); + + $collection->rewind(); + $this->assertTrue($collection->key() == 'arg0');*/ + } +}