From a6e6c22bf628a80238143f4ad6e0e745ba661c2e Mon Sep 17 00:00:00 2001 From: hoangNam Date: Mon, 15 Oct 2018 10:44:14 +0700 Subject: [PATCH] Remove redundant Exception from throws list in DragonSlayerTest --- .../src/test/java/com/iluwatar/strategy/DragonSlayerTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strategy/src/test/java/com/iluwatar/strategy/DragonSlayerTest.java b/strategy/src/test/java/com/iluwatar/strategy/DragonSlayerTest.java index d22bf4235..81afa53b4 100644 --- a/strategy/src/test/java/com/iluwatar/strategy/DragonSlayerTest.java +++ b/strategy/src/test/java/com/iluwatar/strategy/DragonSlayerTest.java @@ -52,7 +52,7 @@ public class DragonSlayerTest { * Verify if the dragon slayer uses the new strategy during battle after a change of strategy */ @Test - public void testChangeStrategy() throws Exception { + public void testChangeStrategy() { final DragonSlayingStrategy initialStrategy = mock(DragonSlayingStrategy.class); final DragonSlayer dragonSlayer = new DragonSlayer(initialStrategy);