@Test
public void testInsert()
{

    GHSortedCollection instance = new GHSortedCollection(100);
    assertTrue(instance.isEmpty());
    instance.insert(0, 10);
    assertEquals(1, instance.getSize());
    assertEquals(10, instance.peekValue());
    assertEquals(0, instance.peekKey());
    instance.update(0, 10, 2);
    assertEquals(2, instance.peekValue());
    assertEquals(1, instance.getSize());
    instance.insert(0, 11);
    assertEquals(2, instance.peekValue());
    assertEquals(2, instance.getSize());
    instance.insert(1, 0);
    assertEquals(0, instance.peekValue());
    assertEquals(3, instance.getSize());
}