Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 4
CRAP
0.00% covered (danger)
0.00%
0 / 13
ConfirmedLinkButtonTest
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 4
20
0.00% covered (danger)
0.00%
0 / 13
 setUp
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
 tearDown
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 1
 testConstructor
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 6
 testOnDocumentReady
0.00% covered (danger)
0.00%
0 / 1
2
0.00% covered (danger)
0.00%
0 / 3
<?php
namespace Test\Ease\JQuery;
use Ease\JQuery\ConfirmedLinkButton;
/**
 * Generated by PHPUnit_SkeletonGenerator on 2016-01-17 at 23:58:29.
 */
class ConfirmedLinkButtonTest extends LinkButtonTest
{
    /**
     * @var ConfirmedLinkButton
     */
    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 ConfirmedLinkButton('http://v.s.cz/',
            'VitexSoftware');
    }
    /**
     * 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()
    {
        $classname = get_class($this->object);
        // Get mock, without the constructor being called
        $mock = $this->getMockBuilder($classname)
            ->disableOriginalConstructor()
            ->getMockForAbstractClass();
        $mock->__construct('http://v.s.cz/', 'Vitex Software');
    }
    /**
     * @covers Ease\JQuery\ConfirmedLinkButton::onDocumentReady
     *
     * @todo   Implement testOnDocumentReady().
     */
    public function testOnDocumentReady()
    {
        // Remove the following lines when you implement this test.
        $this->markTestIncomplete(
            'This test has not been implemented yet.'
        );
    }
}