22
33declare (strict_types=1 );
44
5+ use PHPUnit \Framework \Attributes \TestDox ;
56use PHPUnit \Framework \TestCase ;
67
78class HouseTest extends TestCase
@@ -21,7 +22,8 @@ protected function setUp(): void
2122 /**
2223 * uuid: 28a540ff-f765-4348-9d57-ae33f25f41f2
2324 */
24- public function testVerseOne (): void
25+ #[TestDox('Verse one - the house that jack built ' )]
26+ public function testVerseOneTheHouseThatJackBuilt (): void
2527 {
2628 $ lyrics = ['This is the house that Jack built. ' ];
2729 $ this ->assertEquals ($ lyrics , $ this ->house ->verse (1 ));
@@ -30,7 +32,8 @@ public function testVerseOne(): void
3032 /**
3133 * uuid: ebc825ac-6e2b-4a5e-9afd-95732191c8da
3234 */
33- public function testVerseTwo (): void
35+ #[TestDox('Verse two - the malt that lay ' )]
36+ public function testVerseTwoTheMaltThatLay (): void
3437 {
3538 $ lyrics = [
3639 'This is the malt ' ,
@@ -42,7 +45,8 @@ public function testVerseTwo(): void
4245 /**
4346 * uuid: 1ed8bb0f-edb8-4bd1-b6d4-b64754fe4a60
4447 */
45- public function testVerseThree (): void
48+ #[TestDox('Verse three - the rat that ate ' )]
49+ public function testVerseThreeTheRatThatAte (): void
4650 {
4751 $ lyrics = [
4852 'This is the rat ' ,
@@ -55,7 +59,8 @@ public function testVerseThree(): void
5559 /**
5660 * uuid: 64b0954e-8b7d-4d14-aad0-d3f6ce297a30
5761 */
58- public function testVerseFour (): void
62+ #[TestDox('Verse four - the cat that killed ' )]
63+ public function testVerseFourTheCatThatKilled (): void
5964 {
6065 $ lyrics = [
6166 'This is the cat ' ,
@@ -69,7 +74,8 @@ public function testVerseFour(): void
6974 /**
7075 * uuid: 1e8d56bc-fe31-424d-9084-61e6111d2c82
7176 */
72- public function testVerseFive (): void
77+ #[TestDox('Verse five - the dog that worried ' )]
78+ public function testVerseFiveTheDogThatWorried (): void
7379 {
7480 $ lyrics = [
7581 'This is the dog ' ,
@@ -84,7 +90,8 @@ public function testVerseFive(): void
8490 /**
8591 * uuid: 6312dc6f-ab0a-40c9-8a55-8d4e582beac4
8692 */
87- public function testVerseSix (): void
93+ #[TestDox('Verse six - the cow with the crumpled horn ' )]
94+ public function testVerseSixTheCowWithTheCrumpledHorn (): void
8895 {
8996 $ lyrics = [
9097 'This is the cow with the crumpled horn ' ,
@@ -100,7 +107,8 @@ public function testVerseSix(): void
100107 /**
101108 * uuid: 68f76d18-6e19-4692-819c-5ff6a7f92feb
102109 */
103- public function testVerseSeven (): void
110+ #[TestDox('Verse seven - the maiden all forlorn ' )]
111+ public function testVerseSevenTheMaidenAllForlorn (): void
104112 {
105113 $ lyrics = [
106114 'This is the maiden all forlorn ' ,
@@ -117,7 +125,8 @@ public function testVerseSeven(): void
117125 /**
118126 * uuid: 73872564-2004-4071-b51d-2e4326096747
119127 */
120- public function testVerseEight (): void
128+ #[TestDox('Verse eight - the man all tattered and torn ' )]
129+ public function testVerseEightTheManAllTatteredAndTorn (): void
121130 {
122131 $ lyrics = [
123132 'This is the man all tattered and torn ' ,
@@ -135,7 +144,8 @@ public function testVerseEight(): void
135144 /**
136145 * uuid: 0d53d743-66cb-4351-a173-82702f3338c9
137146 */
138- public function testVerseNine (): void
147+ #[TestDox('Verse nine - the priest all shaven and shorn ' )]
148+ public function testVerseNineThePriestAllShavenAndShorn (): void
139149 {
140150 $ lyrics = [
141151 'This is the priest all shaven and shorn ' ,
@@ -154,7 +164,8 @@ public function testVerseNine(): void
154164 /**
155165 * uuid: 452f24dc-8fd7-4a82-be1a-3b4839cfeb41
156166 */
157- public function testVerseTen (): void
167+ #[TestDox('Verse ten - the rooster that crowed in the morn ' )]
168+ public function testVerseTenTheRoosterThatCrowedInTheMorn (): void
158169 {
159170 $ lyrics = [
160171 'This is the rooster that crowed in the morn ' ,
@@ -174,7 +185,8 @@ public function testVerseTen(): void
174185 /**
175186 * uuid: 97176f20-2dd3-4646-ac72-cffced91ea26
176187 */
177- public function testVerseEleven (): void
188+ #[TestDox('Verse eleven - the farmer sowing his corn ' )]
189+ public function testVerseElevenTheFarmerSowingHisCorn (): void
178190 {
179191 $ lyrics = [
180192 'This is the farmer sowing his corn ' ,
@@ -195,7 +207,8 @@ public function testVerseEleven(): void
195207 /**
196208 * uuid: 09824c29-6aad-4dcd-ac98-f61374a6a8b7
197209 */
198- public function testVerseTwelve (): void
210+ #[TestDox('Verse twelve - the horse and the hound and the horn ' )]
211+ public function testVerseTwelveTheHorseAndTheHoundAndTheHorn (): void
199212 {
200213 $ lyrics = [
201214 'This is the horse and the hound and the horn ' ,
@@ -217,6 +230,7 @@ public function testVerseTwelve(): void
217230 /**
218231 * uuid: d2b980d3-7851-49e1-97ab-1524515ec200
219232 */
233+ #[TestDox('Multiple verses ' )]
220234 public function testMultipleVerses (): void
221235 {
222236 $ startVerse = 4 ;
@@ -263,6 +277,7 @@ public function testMultipleVerses(): void
263277 /**
264278 * uuid: 0311d1d0-e085-4f23-8ae7-92406fb3e803
265279 */
280+ #[TestDox('Full rhyme ' )]
266281 public function testFullRhyme (): void
267282 {
268283 $ startVerse = 1 ;
0 commit comments