Code Duplication    Length = 7-7 lines in 4 locations

tests/PhpSpreadsheetTests/Cell/AdvancedValueBinderTest.php 1 location

@@ 15-21 (lines=7) @@
12
13
class AdvancedValueBinderTest extends \PHPUnit_Framework_TestCase
14
{
15
    public function setUp()
16
    {
17
        if (!defined('PHPSPREADSHEET_ROOT')) {
18
            define('PHPSPREADSHEET_ROOT', APPLICATION_PATH . '/');
19
        }
20
        require_once PHPSPREADSHEET_ROOT . '/Bootstrap.php';
21
    }
22
23
    public function provider()
24
    {

tests/PhpSpreadsheetTests/Cell/DataTypeTest.php 1 location

@@ 9-15 (lines=7) @@
6
7
class DataTypeTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function setUp()
10
    {
11
        if (!defined('PHPSPREADSHEET_ROOT')) {
12
            define('PHPSPREADSHEET_ROOT', APPLICATION_PATH . '/');
13
        }
14
        require_once PHPSPREADSHEET_ROOT . '/Bootstrap.php';
15
    }
16
17
    public function testGetErrorCodes()
18
    {

tests/PhpSpreadsheetTests/Cell/DefaultValueBinderTest.php 1 location

@@ 14-20 (lines=7) @@
11
{
12
    protected $cellStub;
13
14
    public function setUp()
15
    {
16
        if (!defined('PHPSPREADSHEET_ROOT')) {
17
            define('PHPSPREADSHEET_ROOT', APPLICATION_PATH . '/');
18
        }
19
        require_once PHPSPREADSHEET_ROOT . '/Bootstrap.php';
20
    }
21
22
    protected function createCellStub()
23
    {

tests/PhpSpreadsheetTests/Cell/HyperlinkTest.php 1 location

@@ 9-15 (lines=7) @@
6
7
class HyperlinkTest extends \PHPUnit_Framework_TestCase
8
{
9
    public function setUp()
10
    {
11
        if (!defined('PHPSPREADSHEET_ROOT')) {
12
            define('PHPSPREADSHEET_ROOT', APPLICATION_PATH . '/');
13
        }
14
        require_once PHPSPREADSHEET_ROOT . '/Bootstrap.php';
15
    }
16
17
    public function testGetUrl()
18
    {