@@ -48,36 +48,6 @@ public function testDocBlockCanHaveASummary()
48
48
$ this ->assertSame ($ summary , $ fixture ->getSummary ());
49
49
}
50
50
51
- /**
52
- * @covers ::__construct
53
- *
54
- * @expectedException \InvalidArgumentException
55
- */
56
- public function testExceptionIsThrownIfSummaryIsNotAString ()
57
- {
58
- new DocBlock ([]);
59
- }
60
-
61
- /**
62
- * @covers ::__construct
63
- *
64
- * @expectedException \InvalidArgumentException
65
- */
66
- public function testExceptionIsThrownIfTemplateStartIsNotABoolean ()
67
- {
68
- new DocBlock ('' , null , [], null , null , ['is not boolean ' ]);
69
- }
70
-
71
- /**
72
- * @covers ::__construct
73
- *
74
- * @expectedException \InvalidArgumentException
75
- */
76
- public function testExceptionIsThrownIfTemplateEndIsNotABoolean ()
77
- {
78
- new DocBlock ('' , null , [], null , null , false , ['is not boolean ' ]);
79
- }
80
-
81
51
/**
82
52
* @covers ::__construct
83
53
* @covers ::getDescription
@@ -154,18 +124,6 @@ public function testFindTagsInDocBlockByName()
154
124
$ this ->assertSame ([], $ fixture ->getTagsByName ('Ebcd ' ));
155
125
}
156
126
157
- /**
158
- * @covers ::__construct
159
- * @covers ::getTagsByName
160
- * @uses \phpDocumentor\Reflection\DocBlock\Description
161
- * @expectedException \InvalidArgumentException
162
- */
163
- public function testExceptionIsThrownIfNameForTagsIsNotString ()
164
- {
165
- $ fixture = new DocBlock ();
166
- $ fixture ->getTagsByName ([]);
167
- }
168
-
169
127
/**
170
128
* @covers ::__construct
171
129
* @covers ::hasTag
@@ -191,18 +149,6 @@ public function testCheckIfThereAreTagsWithAGivenName()
191
149
$ this ->assertFalse ($ fixture ->hasTag ('Ebcd ' ));
192
150
}
193
151
194
- /**
195
- * @covers ::__construct
196
- * @covers ::hasTag
197
- * @uses \phpDocumentor\Reflection\DocBlock\Description
198
- * @expectedException \InvalidArgumentException
199
- */
200
- public function testExceptionIsThrownIfNameForCheckingTagsIsNotString ()
201
- {
202
- $ fixture = new DocBlock ();
203
- $ fixture ->hasTag ([]);
204
- }
205
-
206
152
/**
207
153
* @covers ::__construct
208
154
* @covers ::getContext
0 commit comments