assertEquals("Order Unexpected", value1, section.getAssociatedItems(0).getItemOrder().intValue()); assertEquals("Order Unexpected", value2, section.getAssociatedItems(1).getItemOrder().intValue()); assertEquals("Order Unexpected", value3, section.getAssociatedItems(2).getItemOrder().intValue());
assertEquals("Order Unexpected", value1, section.getAssociatedItems().get(0).getItemOrder().intValue()); assertEquals("Order Unexpected", value2, section.getAssociatedItems().get(1).getItemOrder().intValue()); assertEquals("Order Unexpected", value3, section.getAssociatedItems().get(2).getItemOrder().intValue());
    private void testItemsOrder(int value1, int value2, int value3){        assertEquals("Order Unexpected", value1, item.getItemOrder().intValue());        assertEquals("Order Unexpected", value2, item2.getItemOrder().intValue());           assertEquals("Order Unexpected", value3, item3.getItemOrder().intValue());                   assertEquals("Order Unexpected", value1, section.getAssociatedItems(0).getItemOrder().intValue());        assertEquals("Order Unexpected", value2, section.getAssociatedItems(1).getItemOrder().intValue());           assertEquals("Order Unexpected", value3, section.getAssociatedItems(2).getItemOrder().intValue());    }