assertEquals("Order Unexpected", 0, section.getAssociatedItems(0).getItemOrder().intValue()); assertEquals("Order Unexpected", 1, section.getAssociatedItems(1).getItemOrder().intValue());
assertEquals("Order Unexpected", 0, section.getAssociatedItems().get(0).getItemOrder().intValue()); assertEquals("Order Unexpected", 1, section.getAssociatedItems().get(1).getItemOrder().intValue());
    public void testDelete() {                                                              item.delete();                            assertEquals("Size Unexpected", 2, section.getAssociatedItemsCount());        assertNull("Section Unexpected", item.getSection());                  // Test Organize Items Order        assertEquals("Order Unexpected", 0, item2.getItemOrder().intValue());        assertEquals("Order Unexpected", 1, item3.getItemOrder().intValue());                assertEquals("Order Unexpected", 0, section.getAssociatedItems(0).getItemOrder().intValue());        assertEquals("Order Unexpected", 1, section.getAssociatedItems(1).getItemOrder().intValue());                               item2.delete();                                  assertEquals("Size Unexpected", 1, section.getAssociatedItemsCount());        assertNull("Section Unexpected", item2.getSection());                //Test Organize Items Order        assertEquals("Order Unexpected", 0, item3.getItemOrder().intValue());                assertEquals("Order Unexpected", 0, section.getAssociatedItems(0).getItemOrder().intValue());                        item3.delete();                    assertEquals("Size Unexpected", 0, section.getAssociatedItemsCount());        assertNull("Section Unexpected", item3.getSection());                    }