Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
3 | class EnvironmentTest extends \PHPUnit\Framework\TestCase |
||
4 | { |
||
5 | private $environment; |
||
6 | |||
7 | public function setUp(): void |
||
8 | { |
||
9 | $this->environment = new Environment; |
||
10 | } |
||
11 | |||
12 | public function testVariablesNull() |
||
16 | } |
||
17 | |||
18 | public function testVariablesObjectIsArrayObject() |
||
19 | { |
||
20 | $variablesObj = $this->environment->getVariablesObject(); |
||
21 | $this->assertEquals("ArrayObject", get_class($variablesObj)); |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * @expectedException BuildException |
||
26 | * @expectedExceptionMessage key and value must be specified for environment variables. |
||
27 | */ |
||
28 | public function testValidateWithoutKeyAndValueSetRaisesException() |
||
32 | } |
||
33 | |||
34 | public function testValuesAgainstGetContent() |
||
44 |