@Test
public void testOffer()
{

  StablePriorityQueue<Integer> instance = new StablePriorityQueue<>(1);
  Integer i = 10;
  assertTrue(instance.offer(i));
  Object result = instance.peek();
  assertEquals(i, result);
}