### Question:
HeapPageId implements PageId { public int getTableId() { return tableId; } HeapPageId(int tableId, int pgNo); int getTableId(); int pageNumber(); int hashCode(); boolean equals(Object o); int[] serialize();  }### Answer:
@Test public void getTableId() { assertEquals(1, pid.getTableId()); }