Buggy code:
@ Test public void inlineComments ( ) { } @ Test public void multilineComments ( ) { } @ Test public void attributesAndAssocations ( ) { } @ Test public void interfaceImplementation ( ) { } @ Test public void interfaceWithMethodAndParameters ( ) { } @ Test public void interfaceWithPosition ( ) { } @ Test public void interfaceWithMethodAndNOTParameters ( ) { } @ Test public void interfaceWithConstants ( ) { } @ Test public void interfaceWithMultipleMembers ( ) { } @ Test public void interfaceClassDepend ( ) { } @ Test public void interfaceWithExtraCode ( ) { } @ Test public void interfaceWithSingleIsA ( ) { } @ Test public void interfaceWithMultipleIsA ( ) { } @ Test public void classWithImplementedMethods ( ) { } @ Test @ Ignore public void classWithMethods ( ) { } @ Test public void mixDifferentFiles ( ) { } @ Test public void classPosition ( ) { } @ Test public void classPosition_default ( ) { } @ Test public void positionAssociation ( ) { } @ Test @ Ignore public void positionAssociationClass_Mixin ( ) { } @ Test @ Ignore public void positionAssociationClass_NoAssociation ( ) { } @ Test public void positionUnknownAssociation ( ) { } @ Test public void associationClassPosition ( ) { } @ Test public void glossary ( ) { } @ Test public void cannotHaveDuplicateKeys ( ) { } @ Test public void cannotHaveKeyAndDefaultKey ( ) { } @ Test public void keyCannotHaveDuplicateAttributes ( ) { } @ Test public void attributeInKeyNotDefinedInClass ( ) { } @ Test public void inheritedKeys ( ) { } @ Test public void key ( ) { } @ Test public void keyWithInitializedAttribute ( ) { } @ Test public void beforeKeyword ( ) { } @ Test public void afterKeyword ( ) { } @ Test public void multiInject ( ) { } @ Test public void upperCaseAssociationKey ( ) { } @ Test public void enumAttributeEmpty ( ) { } @ Test public void enumShortHandSyntax ( ) { } @ Test public void enumLongHandSyntax ( ) { } @ Test public void nestedUseStatements ( ) { } @ Test public void immutableOneWayInternalAssociation ( ) { } @ Test public void immutableOtherWayInternalAssociation ( ) { } @ Test public void immutableExternalAssociation ( ) { } @ Test public void immutableExternalOtherWayAssociation ( ) { } @ Test public void immutableTwoWayAssociationsAreNotAllowed ( ) { } @ Test public void immutableAssociationMayNotHaveMutableClassAtDirectedEnd ( ) { } @ Test public void reflexiveMandatoryAssociationMayNotBeImmutable ( ) { } @ Test public void duplicateAssociationNames ( ) { } @ Test public void duplicateAttributesNames ( ) { } @ Test @ Ignore public void whitespaceCharacter ( ) { } @ Test public void commentsBeforeClasses ( ) { } @ Test public void test ( ) { } @ Test public void commentsBeforeMultipleClasses ( ) { } @ Test public void commentsWayBeforeClass ( ) { } @ Test public void sameLineComments ( ) { } @ Test public void mixingRegularAndDerivedAttributes_bug201 ( ) { } @ Test public void debugKeyword ( ) { } @ Test public void filenamePropogation ( ) { } @ Test public void mixin_namespaces ( ) { assertParse ( "213_mixin_namespaces_1.ump" ) ; Assert . assertEquals ( "A" , parser . getModel ( ) . getUmpleClass ( "X" ) . getPackageName ( ) ) ; Assert . assertEquals ( "B" , parser . getModel ( ) . getUmpleClass ( "Y" ) . getPackageName ( ) ) ; assertParse ( "213_mixin_namespaces_2.ump" ) ; Assert . assertEquals ( "B" , parser . getModel ( ) . getUmpleClass ( "X" ) . getPackageName ( ) ) ; Assert . assertEquals ( "B" , parser . getModel ( ) . getUmpleClass ( "Y" ) . getPackageName ( ) ) ; assertHasWarningsParse ( "213_mixin_namespaces_3.ump" , 30 ) ; <START_BUG> Assert . assertEquals ( "C" , parser . getModel ( ) . getUmpleClass ( "X" ) . getPackageName ( ) ) ; <END_BUG> Assert . assertEquals ( "B" , parser . getModel ( ) . getUmpleClass ( "Y" ) . getPackageName ( ) ) ; } @ Test public void attributeAndAssociationNameClashingBidirectional ( ) { } @ Test public void attributeAndAssociationNameClashingUnidirectional ( ) { } @ Test public void attributeAndAssociationNameClashingBackwardsUnidirectional ( ) { } @ Test public void attributeAndAssociationNameClashingSeparate ( ) { } @ Test public void stateMachineandAttributeNameClashing ( ) { } @ Test public void stateMachineandAssociationNameClashing ( ) { } @ Test public void stateMachineConcurrencyBetweenStates ( ) { } @ Test public void externalDefinitionAndClassDefinitionCodeGeneration_externalFirst ( ) { } @ Test public void externalDefinitionAndClassDefinitionCodeGeneration_externalMiddle ( ) { } @ Test public void externalDefinitionAndClassDefinitionCodeGeneration_externalLast ( ) { } @ Test public void generateSuboption ( ) { } @ Test public void generateSuboptionOverride ( ) { } @ Test public void methodNameConflictUsingDefaulted ( ) { } @ Test public void commentInAssociation ( ) { } @ Test public void assertSetFailedPosition ( ) throws Exception { } public boolean parse ( String filename ) { } public boolean parseWarnings ( String filename ) { } public void assertParse ( String filename ) { } public void assertSimpleParse ( String filename ) { } public void assertFailedParse ( String filename , Position expectedPosition ) { } public void assertFailedParse ( String filename , Position expectedPosition , int expectedError ) { } public void assertFailedParse ( String filename , Position expectedPosition , int expectedError , int expectedErrorIndex ) { } public void assertFailedParse ( String filename , int expectedError ) { } public void assertHasWarningsParse ( String filename , Position expectedPosition ) { } public void assertFailedParse ( String filename , int expectedError , int expectedErrorIndex ) { } public void assertHasWarningsParse ( String filename , Position expectedPosition , int expectedError ) { } public void assertHasNoWarningsParse ( String filename ) { } public void assertHasWarningsParse ( String filename , int expectedError ) { } public void assertHasWarningsParse ( String filename , int expectedError , int expectedErrorIndex ) { } public void assertNoWarningsParse ( String filename ) { }

Fix:
Assert . assertEquals ( "A" , parser . getModel ( ) . getUmpleClass ( "X" ) . getPackageName ( ) ) ;