### Question:
RecordId implements Serializable { public PageId getPageId() { return pageId; } RecordId(PageId pid, int tupleNo); int tupleno(); PageId getPageId(); @Override boolean equals(Object o); @Override int hashCode();  }### Answer:
@Test public void getPageId() { HeapPageId hpid = new HeapPageId(-1, 2); assertEquals(hpid, hrid.getPageId()); }