Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
n/a
0 / 0
n/a
0 / 0
CRAP
n/a
0 / 0
RowTest
n/a
0 / 0
100.00% covered (success)
100.00%
3 / 3
3
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
 testAddColumn
100.00% covered (success)
100.00%
1 / 1
1
n/a
0 / 0
<?php
namespace Test\Ease\TWB;
/**
 * Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:59:35.
 */
class RowTest extends \Test\Ease\Html\DivTest
{
    /**
     * @var Row
     */
    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\TWB\Row();
    }
    /**
     * Tears down the fixture, for example, closes a network connection.
     * This method is called after a test is executed.
     */
    protected function tearDown()
    {
    }
    /**
     * @covers Ease\TWB\Row::addColumn
     */
    public function testAddColumn()
    {
        $this->object->addColumn(2, 'TestContent');
        $this->assertEquals('
<div class="row">
<div class="col-md-2">TestContent</div></div>', (string) $this->object);
    }
}