Completed
Push — master ( 47bdab...b8e171 )
by Gabriel
01:58 queued 11s
created

ButtonTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 3
dl 0
loc 6
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testInitInConstruct() 0 4 1
1
<?php
2
3
namespace Nip\Form\Tests\Buttons;
4
5
use Nip\Form\Tests\AbstractTest;
6
use Nip_Form_Element_Timeselect;
7
8
/**
9
 * Class ButtonTest
10
 * @package Nip\Form\Tests\Buttons
11
 */
12
class ButtonTest extends AbstractTest
13
{
14
    public function testInitInConstruct()
15
    {
16
        $button = new \Nip_Form_Button_Button(new \Nip\Form\Form());
17
        self::assertSame('button', $button->getType());
18
    }
19
}
20