16
16
17
17
class HelperSetTest extends \PHPUnit_Framework_TestCase
18
18
{
19
- /**
20
- * @covers \Symfony\Component\Console\Helper\HelperSet::__construct
21
- */
22
19
public function testConstructor ()
23
20
{
24
21
$ mock_helper = $ this ->getGenericMockHelper ('fake_helper ' );
@@ -28,9 +25,6 @@ public function testConstructor()
28
25
$ this ->assertTrue ($ helperset ->has ('fake_helper_alias ' ), '__construct sets helper alias for given helper ' );
29
26
}
30
27
31
- /**
32
- * @covers \Symfony\Component\Console\Helper\HelperSet::set
33
- */
34
28
public function testSet ()
35
29
{
36
30
$ helperset = new HelperSet ();
@@ -49,19 +43,13 @@ public function testSet()
49
43
$ this ->assertTrue ($ helperset ->has ('fake_helper_alias ' ), '->set() adds helper alias when set ' );
50
44
}
51
45
52
- /**
53
- * @covers \Symfony\Component\Console\Helper\HelperSet::has
54
- */
55
46
public function testHas ()
56
47
{
57
48
$ helperset = new HelperSet (array ('fake_helper_alias ' => $ this ->getGenericMockHelper ('fake_helper ' )));
58
49
$ this ->assertTrue ($ helperset ->has ('fake_helper ' ), '->has() finds set helper ' );
59
50
$ this ->assertTrue ($ helperset ->has ('fake_helper_alias ' ), '->has() finds set helper by alias ' );
60
51
}
61
52
62
- /**
63
- * @covers \Symfony\Component\Console\Helper\HelperSet::get
64
- */
65
53
public function testGet ()
66
54
{
67
55
$ helper_01 = $ this ->getGenericMockHelper ('fake_helper_01 ' );
@@ -82,9 +70,6 @@ public function testGet()
82
70
}
83
71
}
84
72
85
- /**
86
- * @covers \Symfony\Component\Console\Helper\HelperSet::setCommand
87
- */
88
73
public function testSetCommand ()
89
74
{
90
75
$ cmd_01 = new Command ('foo ' );
@@ -100,9 +85,6 @@ public function testSetCommand()
100
85
$ this ->assertEquals ($ cmd_02 , $ helperset ->getCommand (), '->setCommand() overwrites stored command with consecutive calls ' );
101
86
}
102
87
103
- /**
104
- * @covers \Symfony\Component\Console\Helper\HelperSet::getCommand
105
- */
106
88
public function testGetCommand ()
107
89
{
108
90
$ cmd = new Command ('foo ' );
0 commit comments