### Question:
RelationUIModelMapperHelper { public static RelationSection getSection(final Relation relation, final int columnIndex) { if (columnIndex < 0) { return RelationSection.NONE; } final int iiColumnCount = relation.getColumn().size(); int _columnIndex = columnIndex; if ((_columnIndex = _columnIndex - ROW_INDEX_COLUMN_COUNT) < 0) { return RelationSection.ROW_INDEX; } if ((_columnIndex - iiColumnCount) < 0) { return RelationSection.INFORMATION_ITEM; } return RelationSection.NONE; }  static RelationSection getSection(final Relation relation,
                                             final int columnIndex); static int getInformationItemIndex(final Relation relation,
                                              final int columnIndex); static final int ROW_INDEX_COLUMN_COUNT; }### Answer:
@Test public void testGetSectionNone() { assertEquals(RelationSection.NONE, getSection(relation, RelationUIModelMapperHelper.ROW_INDEX_COLUMN_COUNT + 1)); }
@Test public void testGetSectionRowNumberColumn() { assertEquals(RelationSection.ROW_INDEX, getSection(relation, 0)); }
@Test public void testGetSectionRowNumberColumnWhenInformationItemPresent() { relation.getColumn().add(new InformationItem()); assertEquals(RelationSection.ROW_INDEX, getSection(relation, 0)); }
@Test public void testGetSectionNonExistingNegativeIndex() { relation.getColumn().add(new InformationItem()); assertEquals(RelationSection.NONE, getSection(relation, -1)); }
@Test public void testGetSectionNonExistingIndexEqualToColumnCount() { relation.getColumn().add(new InformationItem()); assertEquals(RelationSection.NONE, getSection(relation, relation.getColumn().size() + 1)); }
@Test public void testGetSectionInformationItemColumn() { relation.getColumn().add(new InformationItem()); assertEquals(RelationSection.INFORMATION_ITEM, getSection(relation, 1)); }