Skip to content

Commit a6e6c22

Browse files
author
hoangNam
committed
Remove redundant Exception from throws list in DragonSlayerTest
1 parent db33cc5 commit a6e6c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

strategy/src/test/java/com/iluwatar/strategy/DragonSlayerTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void testGoToBattle() {
5252
* Verify if the dragon slayer uses the new strategy during battle after a change of strategy
5353
*/
5454
@Test
55-
public void testChangeStrategy() throws Exception {
55+
public void testChangeStrategy() {
5656
final DragonSlayingStrategy initialStrategy = mock(DragonSlayingStrategy.class);
5757
final DragonSlayer dragonSlayer = new DragonSlayer(initialStrategy);
5858

0 commit comments

Comments
 (0)