Remove redundant Exception from throws list in DragonSlayerTest

This commit is contained in:
hoangNam committed 2018-10-15 10:44:14 +07:00
1 parent db33cc533b
commit a6e6c22bf6
1 file changed
+1 -1
@@ -52,7 +52,7 @@ public class DragonSlayerTest {
* Verify if the dragon slayer uses the new strategy during battle after a change of strategy * Verify if the dragon slayer uses the new strategy during battle after a change of strategy
*/ */
@Test @Test
public void testChangeStrategy() throws Exception { public void testChangeStrategy() {
final DragonSlayingStrategy initialStrategy = mock(DragonSlayingStrategy.class); final DragonSlayingStrategy initialStrategy = mock(DragonSlayingStrategy.class);
final DragonSlayer dragonSlayer = new DragonSlayer(initialStrategy); final DragonSlayer dragonSlayer = new DragonSlayer(initialStrategy);