@Override
    synchronized StampedRecord nextRecord(final RecordInfo info, final long wallClockTime) {
        return wrapped.nextRecord(info, wallClockTime);
    }
@Test
    public void testNextRecord() {
        final RecordInfo info = mock(RecordInfo.class);
        final long wallClockTime = 12345678L;
        final StampedRecord stampedRecord = mock(StampedRecord.class);
        when(wrapped.nextRecord(info, wallClockTime)).thenReturn(stampedRecord);

        final StampedRecord result = synchronizedPartitionGroup.nextRecord(info, wallClockTime);

        assertEquals(stampedRecord, result);
        verify(wrapped, times(1)).nextRecord(info, wallClockTime);
    }