TDAT: public void testHasCorrectArguments() { CmdType cmd; boolean result; cmd = CmdType.ADDDOMAIN; // Test bogus number result = cmd.hasCorrectArguments(-1); assertEquals(false, result); // Test actual number result = cmd.hasCorrectArguments(cmd.getArguments()); assertEquals(true, result); // Test known bad number result = cmd.hasCorrectArguments(cmd.getArguments() - 1); assertEquals(false, result); } COM: test the has correct arguments method