@Test
public void peekThrowsExceptionWhenHeapIsEmpty() {

	Heap<Integer> heap = new SimpleHeapImpl<Integer>(minHeapComparator);
	boolean thrown = false;
	try {
		heap.peek();
	} catch (EmptyHeapException e) {
		thrown = true;
	}
	assertTrue(thrown);
}