Remove redundant Exception from throws list in DragonSlayerTest

This commit is contained in:
hoangNam
2018-10-15 10:44:14 +07:00
parent db33cc533b
commit a6e6c22bf6

View File

@ -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);