@Test
public void testUpdate()
{

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