@@ -9,23 +9,23 @@ public class AnnalynsInfiltrationTest {
9
9
@ Test
10
10
@ Tag ("task:1" )
11
11
@ DisplayName ("The canFastAttack method returns false when knight is awake" )
12
- public void cannot_execute_fast_attack_if_knight_is_awake () {
12
+ public void cannotExecuteFastAttackIfKnightIsAwake () {
13
13
boolean knightIsAwake = true ;
14
14
assertThat (AnnalynsInfiltration .canFastAttack (knightIsAwake )).isFalse ();
15
15
}
16
16
17
17
@ Test
18
18
@ Tag ("task:1" )
19
19
@ DisplayName ("The canFastAttack method returns true when knight is sleeping" )
20
- public void can_execute_fast_attack_if_knight_is_sleeping () {
20
+ public void canExecuteFastAttackIfKnightIsSleeping () {
21
21
boolean knightIsAwake = false ;
22
22
assertThat (AnnalynsInfiltration .canFastAttack (knightIsAwake )).isTrue ();
23
23
}
24
24
25
25
@ Test
26
26
@ Tag ("task:2" )
27
27
@ DisplayName ("The canSpy method returns false when everyone is sleeping" )
28
- public void cannot_spy_if_everyone_is_sleeping () {
28
+ public void cannotSpyIfEveryoneIsSleeping () {
29
29
boolean knightIsAwake = false ;
30
30
boolean archerIsAwake = false ;
31
31
boolean prisonerIsAwake = false ;
@@ -35,7 +35,7 @@ public void cannot_spy_if_everyone_is_sleeping() {
35
35
@ Test
36
36
@ Tag ("task:2" )
37
37
@ DisplayName ("The canSpy method returns true when everyone but knight is sleeping" )
38
- public void can_spy_if_everyone_but_knight_is_sleeping () {
38
+ public void canSpyIfEveryoneButKnightIsSleeping () {
39
39
boolean knightIsAwake = true ;
40
40
boolean archerIsAwake = false ;
41
41
boolean prisonerIsAwake = false ;
@@ -45,7 +45,7 @@ public void can_spy_if_everyone_but_knight_is_sleeping() {
45
45
@ Test
46
46
@ Tag ("task:2" )
47
47
@ DisplayName ("The canSpy method returns true when everyone but archer is sleeping" )
48
- public void can_spy_if_everyone_but_archer_is_sleeping () {
48
+ public void canSpyIfEveryoneButArcherIsSleeping () {
49
49
boolean knightIsAwake = false ;
50
50
boolean archerIsAwake = true ;
51
51
boolean prisonerIsAwake = false ;
@@ -55,7 +55,7 @@ public void can_spy_if_everyone_but_archer_is_sleeping() {
55
55
@ Test
56
56
@ Tag ("task:2" )
57
57
@ DisplayName ("The canSpy method returns true when everyone but prisoner is sleeping" )
58
- public void can_spy_if_everyone_but_prisoner_is_sleeping () {
58
+ public void canSpyIfEveryoneButPrisonerIsSleeping () {
59
59
boolean knightIsAwake = false ;
60
60
boolean archerIsAwake = false ;
61
61
boolean prisonerIsAwake = true ;
@@ -65,7 +65,7 @@ public void can_spy_if_everyone_but_prisoner_is_sleeping() {
65
65
@ Test
66
66
@ Tag ("task:2" )
67
67
@ DisplayName ("The canSpy method returns true when only knight is sleeping" )
68
- public void can_spy_if_only_knight_is_sleeping () {
68
+ public void canSpyIfOnlyKnightIsSleeping () {
69
69
boolean knightIsAwake = false ;
70
70
boolean archerIsAwake = true ;
71
71
boolean prisonerIsAwake = true ;
@@ -75,7 +75,7 @@ public void can_spy_if_only_knight_is_sleeping() {
75
75
@ Test
76
76
@ Tag ("task:2" )
77
77
@ DisplayName ("The canSpy method returns true when only archer is sleeping" )
78
- public void can_spy_if_only_archer_is_sleeping () {
78
+ public void canSpyIfOnlyArcherIsSleeping () {
79
79
boolean knightIsAwake = true ;
80
80
boolean archerIsAwake = false ;
81
81
boolean prisonerIsAwake = true ;
@@ -85,7 +85,7 @@ public void can_spy_if_only_archer_is_sleeping() {
85
85
@ Test
86
86
@ Tag ("task:2" )
87
87
@ DisplayName ("The canSpy method returns true when only prisoner is sleeping" )
88
- public void can_spy_if_only_prisoner_is_sleeping () {
88
+ public void canSpyIfOnlyPrisonerIsSleeping () {
89
89
boolean knightIsAwake = true ;
90
90
boolean archerIsAwake = true ;
91
91
boolean prisonerIsAwake = false ;
@@ -95,7 +95,7 @@ public void can_spy_if_only_prisoner_is_sleeping() {
95
95
@ Test
96
96
@ Tag ("task:2" )
97
97
@ DisplayName ("The canSpy method returns true when everyone is awake" )
98
- public void can_spy_if_everyone_is_awake () {
98
+ public void canSpyIfEveryoneIsAwake () {
99
99
boolean knightIsAwake = true ;
100
100
boolean archerIsAwake = true ;
101
101
boolean prisonerIsAwake = true ;
@@ -105,7 +105,7 @@ public void can_spy_if_everyone_is_awake() {
105
105
@ Test
106
106
@ Tag ("task:3" )
107
107
@ DisplayName ("The canSignalPrisoner method returns true when prisoner is awake and archer is sleeping" )
108
- public void can_signal_prisoner_if_archer_is_sleeping_and_prisoner_is_awake () {
108
+ public void canSignalPrisonerIfArcherIsSleepingAndPrisonerIsAwake () {
109
109
boolean archerIsAwake = false ;
110
110
boolean prisonerIsAwake = true ;
111
111
assertThat (AnnalynsInfiltration .canSignalPrisoner (archerIsAwake , prisonerIsAwake )).isTrue ();
@@ -114,7 +114,7 @@ public void can_signal_prisoner_if_archer_is_sleeping_and_prisoner_is_awake() {
114
114
@ Test
115
115
@ Tag ("task:3" )
116
116
@ DisplayName ("The canSignalPrisoner method returns false when prisoner is sleeping and archer is awake" )
117
- public void cannot_signal_prisoner_if_archer_is_awake_and_prisoner_is_sleeping () {
117
+ public void cannotSignalPrisonerIfArcherIsAwakeAndPrisonerIsSleeping () {
118
118
boolean archerIsAwake = true ;
119
119
boolean prisonerIsAwake = false ;
120
120
assertThat (AnnalynsInfiltration .canSignalPrisoner (archerIsAwake , prisonerIsAwake )).isFalse ();
@@ -123,7 +123,7 @@ public void cannot_signal_prisoner_if_archer_is_awake_and_prisoner_is_sleeping()
123
123
@ Test
124
124
@ Tag ("task:3" )
125
125
@ DisplayName ("The canSignalPrisoner method returns false when both prisoner and archer are sleeping" )
126
- public void cannot_signal_prisoner_if_archer_and_prisoner_are_both_sleeping () {
126
+ public void cannotSignalPrisonerIfArcherAndPrisonerAreBothSleeping () {
127
127
boolean archerIsAwake = false ;
128
128
boolean prisonerIsAwake = false ;
129
129
assertThat (AnnalynsInfiltration .canSignalPrisoner (archerIsAwake , prisonerIsAwake )).isFalse ();
@@ -132,7 +132,7 @@ public void cannot_signal_prisoner_if_archer_and_prisoner_are_both_sleeping() {
132
132
@ Test
133
133
@ Tag ("task:3" )
134
134
@ DisplayName ("The canSignalPrisoner method returns false when both prisoner and archer are awake" )
135
- public void cannot_signal_prisoner_if_archer_and_prisoner_are_both_awake () {
135
+ public void cannotSignalPrisonerIfArcherAndPrisonerAreBothAwake () {
136
136
boolean archerIsAwake = true ;
137
137
boolean prisonerIsAwake = true ;
138
138
assertThat (AnnalynsInfiltration .canSignalPrisoner (archerIsAwake , prisonerIsAwake )).isFalse ();
@@ -141,7 +141,7 @@ public void cannot_signal_prisoner_if_archer_and_prisoner_are_both_awake() {
141
141
@ Test
142
142
@ Tag ("task:4" )
143
143
@ DisplayName ("The canFreePrisoner method returns false when everyone is awake and pet dog is present" )
144
- public void cannot_release_prisoner_if_everyone_is_awake_and_pet_dog_is_present () {
144
+ public void cannotReleasePrisonerIfEveryoneIsAwakeAndPetDogIsPresent () {
145
145
boolean knightIsAwake = true ;
146
146
boolean archerIsAwake = true ;
147
147
boolean prisonerIsAwake = true ;
@@ -153,7 +153,7 @@ public void cannot_release_prisoner_if_everyone_is_awake_and_pet_dog_is_present(
153
153
@ Test
154
154
@ Tag ("task:4" )
155
155
@ DisplayName ("The canFreePrisoner method returns false when everyone is awake and pet dog is absent" )
156
- public void cannot_release_prisoner_if_everyone_is_awake_and_pet_dog_is_absent () {
156
+ public void cannotReleasePrisonerIfEveryoneIsAwakeAndPetDogIsAbsent () {
157
157
boolean knightIsAwake = true ;
158
158
boolean archerIsAwake = true ;
159
159
boolean prisonerIsAwake = true ;
@@ -165,7 +165,7 @@ public void cannot_release_prisoner_if_everyone_is_awake_and_pet_dog_is_absent()
165
165
@ Test
166
166
@ Tag ("task:4" )
167
167
@ DisplayName ("The canFreePrisoner method returns true when everyone is sleeping and pet dog is present" )
168
- public void can_release_prisoner_if_everyone_is_asleep_and_pet_dog_is_present () {
168
+ public void canReleasePrisonerIfEveryoneIsAsleepAndPetDogIsPresent () {
169
169
boolean knightIsAwake = false ;
170
170
boolean archerIsAwake = false ;
171
171
boolean prisonerIsAwake = false ;
@@ -177,7 +177,7 @@ public void can_release_prisoner_if_everyone_is_asleep_and_pet_dog_is_present()
177
177
@ Test
178
178
@ Tag ("task:4" )
179
179
@ DisplayName ("The canFreePrisoner method returns false when everyone is sleeping and pet dog is absent" )
180
- public void cannot_release_prisoner_if_everyone_is_asleep_and_pet_dog_is_absent () {
180
+ public void cannotReleasePrisonerIfEveryoneIsAsleepAndPetDogIsAbsent () {
181
181
boolean knightIsAwake = false ;
182
182
boolean archerIsAwake = false ;
183
183
boolean prisonerIsAwake = false ;
@@ -189,7 +189,7 @@ public void cannot_release_prisoner_if_everyone_is_asleep_and_pet_dog_is_absent(
189
189
@ Test
190
190
@ Tag ("task:4" )
191
191
@ DisplayName ("The canFreePrisoner method returns true when only prisoner is awake and pet dog is present" )
192
- public void can_release_prisoner_if_only_prisoner_is_awake_and_pet_dog_is_present () {
192
+ public void canReleasePrisonerIfOnlyPrisonerIsAwakeAndPetDogIsPresent () {
193
193
boolean knightIsAwake = false ;
194
194
boolean archerIsAwake = false ;
195
195
boolean prisonerIsAwake = true ;
@@ -201,7 +201,7 @@ public void can_release_prisoner_if_only_prisoner_is_awake_and_pet_dog_is_presen
201
201
@ Test
202
202
@ Tag ("task:4" )
203
203
@ DisplayName ("The canFreePrisoner method returns true when only prisoner is awake and pet dog is absent" )
204
- public void can_release_prisoner_if_only_prisoner_is_awake_and_pet_dog_is_absent () {
204
+ public void canReleasePrisonerIfOnlyPrisonerIsAwakeAndPetDogIsAbsent () {
205
205
boolean knightIsAwake = false ;
206
206
boolean archerIsAwake = false ;
207
207
boolean prisonerIsAwake = true ;
@@ -213,7 +213,7 @@ public void can_release_prisoner_if_only_prisoner_is_awake_and_pet_dog_is_absent
213
213
@ Test
214
214
@ Tag ("task:4" )
215
215
@ DisplayName ("The canFreePrisoner method returns false when only archer is awake and pet dog is present" )
216
- public void cannot_release_prisoner_if_only_archer_is_awake_and_pet_dog_is_present () {
216
+ public void cannotReleasePrisonerIfOnlyArcherIsAwakeAndPetDogIsPresent () {
217
217
boolean knightIsAwake = false ;
218
218
boolean archerIsAwake = true ;
219
219
boolean prisonerIsAwake = false ;
@@ -225,7 +225,7 @@ public void cannot_release_prisoner_if_only_archer_is_awake_and_pet_dog_is_prese
225
225
@ Test
226
226
@ Tag ("task:4" )
227
227
@ DisplayName ("The canFreePrisoner method returns false when only archer is awake and pet dog is absent" )
228
- public void cannot_release_prisoner_if_only_archer_is_awake_and_pet_dog_is_absent () {
228
+ public void cannotReleasePrisonerIfOnlyArcherIsAwakeAndPetDogIsAbsent () {
229
229
boolean knightIsAwake = false ;
230
230
boolean archerIsAwake = true ;
231
231
boolean prisonerIsAwake = false ;
@@ -237,7 +237,7 @@ public void cannot_release_prisoner_if_only_archer_is_awake_and_pet_dog_is_absen
237
237
@ Test
238
238
@ Tag ("task:4" )
239
239
@ DisplayName ("The canFreePrisoner method returns true when only knight is awake and pet dog is present" )
240
- public void can_release_prisoner_if_only_knight_is_awake_and_pet_dog_is_present () {
240
+ public void canReleasePrisonerIfOnlyKnightIsAwakeAndPetDogIsPresent () {
241
241
boolean knightIsAwake = true ;
242
242
boolean archerIsAwake = false ;
243
243
boolean prisonerIsAwake = false ;
@@ -249,7 +249,7 @@ public void can_release_prisoner_if_only_knight_is_awake_and_pet_dog_is_present(
249
249
@ Test
250
250
@ Tag ("task:4" )
251
251
@ DisplayName ("The canFreePrisoner method returns false when only knight is awake and pet dog is absent" )
252
- public void cannot_release_prisoner_if_only_knight_is_awake_and_pet_dog_is_absent () {
252
+ public void cannotReleasePrisonerIfOnlyKnightIsAwakeAndPetDogIsAbsent () {
253
253
boolean knightIsAwake = true ;
254
254
boolean archerIsAwake = false ;
255
255
boolean prisonerIsAwake = false ;
@@ -261,7 +261,7 @@ public void cannot_release_prisoner_if_only_knight_is_awake_and_pet_dog_is_absen
261
261
@ Test
262
262
@ Tag ("task:4" )
263
263
@ DisplayName ("The canFreePrisoner method returns false when only knight is sleeping and pet dog is present" )
264
- public void cannot_release_prisoner_if_only_knight_is_asleep_and_pet_dog_is_present () {
264
+ public void cannotReleasePrisonerIfOnlyKnightIsAsleepAndPetDogIsPresent () {
265
265
boolean knightIsAwake = false ;
266
266
boolean archerIsAwake = true ;
267
267
boolean prisonerIsAwake = true ;
@@ -273,7 +273,7 @@ public void cannot_release_prisoner_if_only_knight_is_asleep_and_pet_dog_is_pres
273
273
@ Test
274
274
@ Tag ("task:4" )
275
275
@ DisplayName ("The canFreePrisoner method returns false when only knight is sleeping and pet dog is absent" )
276
- public void cannot_release_prisoner_if_only_knight_is_asleep_and_pet_dog_is_absent () {
276
+ public void cannotReleasePrisonerIfOnlyKnightIsAsleepAndPetDogIsAbsent () {
277
277
boolean knightIsAwake = false ;
278
278
boolean archerIsAwake = true ;
279
279
boolean prisonerIsAwake = true ;
@@ -285,7 +285,7 @@ public void cannot_release_prisoner_if_only_knight_is_asleep_and_pet_dog_is_abse
285
285
@ Test
286
286
@ Tag ("task:4" )
287
287
@ DisplayName ("The canFreePrisoner method returns true when only archer is sleeping and pet dog is present" )
288
- public void can_release_prisoner_if_only_archer_is_asleep_and_pet_dog_is_present () {
288
+ public void canReleasePrisonerIfOnlyArcherIsAsleepAndPetDogIsPresent () {
289
289
boolean knightIsAwake = true ;
290
290
boolean archerIsAwake = false ;
291
291
boolean prisonerIsAwake = true ;
@@ -297,7 +297,7 @@ public void can_release_prisoner_if_only_archer_is_asleep_and_pet_dog_is_present
297
297
@ Test
298
298
@ Tag ("task:4" )
299
299
@ DisplayName ("The canFreePrisoner method returns false when only archer is sleeping and pet dog is absent" )
300
- public void cannot_release_prisoner_if_only_archer_is_asleep_and_pet_dog_is_absent () {
300
+ public void cannotReleasePrisonerIfOnlyArcherIsAsleepAndPetDogIsAbsent () {
301
301
boolean knightIsAwake = true ;
302
302
boolean archerIsAwake = false ;
303
303
boolean prisonerIsAwake = true ;
@@ -309,7 +309,7 @@ public void cannot_release_prisoner_if_only_archer_is_asleep_and_pet_dog_is_abse
309
309
@ Test
310
310
@ Tag ("task:4" )
311
311
@ DisplayName ("The canFreePrisoner method returns false when only prisoner is sleeping and pet dog is present" )
312
- public void cannot_release_prisoner_if_only_prisoner_is_asleep_and_pet_dog_is_present () {
312
+ public void cannotReleasePrisonerIfOnlyPrisonerIsAsleepAndPetDogIsPresent () {
313
313
boolean knightIsAwake = true ;
314
314
boolean archerIsAwake = true ;
315
315
boolean prisonerIsAwake = false ;
@@ -321,7 +321,7 @@ public void cannot_release_prisoner_if_only_prisoner_is_asleep_and_pet_dog_is_pr
321
321
@ Test
322
322
@ Tag ("task:4" )
323
323
@ DisplayName ("The canFreePrisoner method returns false when only prisoner is sleeping and pet dog is absent" )
324
- public void cannot_release_prisoner_if_only_prisoner_is_asleep_and_pet_dog_is_absent () {
324
+ public void cannotReleasePrisonerIfOnlyPrisonerIsAsleepAndPetDogIsAbsent () {
325
325
boolean knightIsAwake = true ;
326
326
boolean archerIsAwake = true ;
327
327
boolean prisonerIsAwake = false ;
0 commit comments