Remove redundant Exception from throws list in DragonSlayerTest
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user