Completed
Push — master ( e6c79f...4d4f86 )
by methylbro
9s
created

DeployContainerTest::testConstruct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 14
Code Lines 10

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 14
rs 9.4285
cc 1
eloc 10
nc 1
nop 0
1
<?php
2
3
/**
4
* This file is part of the Meup TagCommander Bundle.
5
*
6
* (c) 1001pharmacies <http://github.com/1001pharmacies/tagcommander-bundle>
7
*
8
* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace Meup\Bundle\TagcommanderBundle\EventDispatcher\Event;
13
14
use Meup\Bundle\TagcommanderBundle\EventDispatcher\Event\DeployContainer;
15
16
/**
17
 *
18
 */
19
class DeployContainerTest extends \PHPUnit_Framework_TestCase
20
{
21
    public function testConstruct()
22
    {
23
        $name        = 'lorem';
24
        $script      = 'ipsum';
25
        $version     = null;
26
        $alternative = null;
27
28
        $deployContainer = new DeployContainer($name, $script, $version, $alternative);
29
30
        $this->assertEquals($name, $deployContainer->getContainerName());
31
        $this->assertEquals($script, $deployContainer->getContainerScript());
32
        $this->assertEquals($version, $deployContainer->getContainerVersion());
33
        $this->assertEquals($alternative, $deployContainer->getContainerAlternative());
34
    }
35
}
36