@Test public void testGetDMG() throws IOException, InterruptedException { Scanner sc = new Scanner(System.in); Name ok = new Name(); Player gram = new Warrior(ok); assertTrue(gram.getDMG() == 6); }