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.

20 lines
385B

  1. <?php
  2. /**
  3. * Description of BbCodeTest
  4. *
  5. * @author po_taka <angel.koilov@gmail.com>
  6. */
  7. class BbCodeTest extends PHPUnit_Framework_TestCase {
  8. public function testAddingTag() {
  9. $bbCode = new Potaka\BbCode\BbCode();
  10. $tagBb = new Potaka\BbCode\Tag\Bold();
  11. $bbCode->addTag($tagBb);
  12. $this->assertEquals(array($tagBb), $bbCode->getTags());
  13. }
  14. }