Source:
private void checkInitialTable(List<?> columnElements, final List<?> rowElements) throws Exception { IAxis firstColumn = (IAxis) columnElements.get(0); Object firstColumnRepresentedElement = firstColumn.getElement(); Assert.assertEquals(UMLPackage.Literals.NAMED_ELEMENT__NAME, firstColumnRepresentedElement); IAxis secondColumn = (IAxis) columnElements.get(1); Object secondColumnRepresentedElement = secondColumn.getElement(); Assert.assertEquals(UMLPackage.Literals.NAMED_ELEMENT__VISIBILITY, secondColumnRepresentedElement); IAxis thirdColumn = (IAxis) columnElements.get(2); Object thirdColumnRepresentedElement = thirdColumn.getElement(); Assert.assertEquals("property_of_stereotype:/SysML::Requirements::Requirement::derived", thirdColumnRepresentedElement); IAxis fourthColumn = (IAxis) columnElements.get(3); Object fourthColumnRepresentedElement = fourthColumn.getElement(); Assert.assertEquals("property_of_stereotype:/SysML::Requirements::Requirement::tracedTo", fourthColumnRepresentedElement); EObject firstRow = (EObject) rowElements.get(0); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) firstRow).eClass()); Assert.assertEquals(FIRST_CLASS, ((org.eclipse.uml2.uml.Class) firstRow).getName()); EObject secondRow = (EObject) rowElements.get(1); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) secondRow).eClass()); Assert.assertEquals(SECOND_CLASS, ((org.eclipse.uml2.uml.Class) secondRow).getName()); EObject thirdRow = (EObject) rowElements.get(2); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) thirdRow).eClass()); Assert.assertEquals(THIRD_CLASS, ((org.eclipse.uml2.uml.Class) thirdRow).getName()); }

Target:
private void checkInitialTable(List<?> columnElements, final List<?> rowElements) throws Exception { IAxis firstColumn = (IAxis) columnElements.get(0); Object firstColumnRepresentedElement = firstColumn.getElement(); Assert.assertEquals(UMLPackage.Literals.NAMED_ELEMENT__NAME, firstColumnRepresentedElement); IAxis secondColumn = (IAxis) columnElements.get(1); Object secondColumnRepresentedElement = secondColumn.getElement(); Assert.assertEquals(UMLPackage.Literals.NAMED_ELEMENT__VISIBILITY, secondColumnRepresentedElement); IAxis thirdColumn = (IAxis) columnElements.get(2); Object thirdColumnRepresentedElement = thirdColumn.getElement(); Assert.assertEquals(DERIVED_PROPERTY, thirdColumnRepresentedElement); IAxis fourthColumn = (IAxis) columnElements.get(3); Object fourthColumnRepresentedElement = fourthColumn.getElement(); Assert.assertEquals(TRACED_TO_PROPERTY, fourthColumnRepresentedElement); EObject firstRow = (EObject) rowElements.get(0); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) firstRow).eClass()); Assert.assertEquals(FIRST_CLASS, ((org.eclipse.uml2.uml.Class) firstRow).getName()); EObject secondRow = (EObject) rowElements.get(1); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) secondRow).eClass()); Assert.assertEquals(SECOND_CLASS, ((org.eclipse.uml2.uml.Class) secondRow).getName()); EObject thirdRow = (EObject) rowElements.get(2); Assert.assertEquals(UMLPackage.eINSTANCE.getClass_(), ((EObject) thirdRow).eClass()); Assert.assertEquals(THIRD_CLASS, ((org.eclipse.uml2.uml.Class) thirdRow).getName()); }