Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
BodyTagTest
n/a
0 / 0
100.00% covered (success)
100.00%
4 / 4
4
n/a
0 / 0
 setUp
100.00% covered (success)
100.00%
1 / 1
1
n/a
0 / 0
 tearDown
100.00% covered (success)
100.00%
1 / 1
1
n/a
0 / 0
 testConstructor
100.00% covered (success)
100.00%
1 / 1
1
n/a
0 / 0
 testSetObjectName
100.00% covered (success)
100.00%
1 / 1
1
n/a
0 / 0
<?php
namespace Test\Ease\Html;
use Ease\Html\BodyTag;
/**
 * Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:52.
 */
class BodyTagTest extends PairTagTest
{
    /**
     * @var BodyTag
     */
    protected $object;
    /**
     * Sets up the fixture, for example, opens a network connection.
     * This method is called before a test is executed.
     */
    protected function setUp()
    {
        $this->object = new \Ease\Html\BodyTag();
    }
    /**
     * Tears down the fixture, for example, closes a network connection.
     * This method is called after a test is executed.
     */
    protected function tearDown()
    {
    }
    public function testConstructor()
    {
        parent::testConstructor();
        $tester = new BodyTag('test');
        $this->assertEquals('test', $tester->getTagID());
    }
    /**
     * @covers Ease\Html\BodyTag::setObjectName
     */
    public function testSetObjectName()
    {
        $this->object->setObjectName();
        $this->assertEquals('body', $this->object->getObjectName());
    }
}