public void addTestMethod(final JUnitTestMethodDoc testMethod) { final String methodName = testMethod.getTestMethodName(); assert !testMethods.containsKey(methodName) : "Test method information must not be added twice"; testMethods.put(methodName, testMethod); }