Completed
Push — master ( e6cea0...5c122a )
by Marcin
01:53
created

ApplicationTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testComponentElemInput() 0 5 1
1
<?php
2
/**
3
 * Grandstream-XMLApp
4
 *
5
 * Copyright (c) 2017 pudelek.org.pl
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For the full copyright and license information, please view source file
10
 * that is bundled with this package in the file LICENSE
11
 *
12
 * @author  Marcin Pudełek <[email protected]>
13
 */
14
15
namespace mrcnpdlk\Grandstream\XMLApp;
16
17
18
use mrcnpdlk\Grandstream\XMLApp\Application\Model\Components\ElemInput;
19
20
class ApplicationTest extends TestCase
21
{
22
    public function testComponentElemInput()
23
    {
24
        $oInput = new ElemInput('elem_input');
25
        $this->assertEquals(true, is_string($oInput->getXml()->asText()));
26
    }
27
}
28