A fork of potaka/bbcode to handle future maintenance
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- /**
- * Description of BbCodeTest
- *
- * @author po_taka <angel.koilov@gmail.com>
- */
- class BbCodeTest extends PHPUnit_Framework_TestCase {
-
- public function testAddingTag() {
- $bbCode = new Potaka\BbCode\BbCode();
- $tagBb = new Potaka\BbCode\Tag\Bold();
-
- $bbCode->addTag($tagBb);
-
- $this->assertEquals(array($tagBb), $bbCode->getTags());
- }
-
- }
|