@Override
    public long offset() {
        throw new UnsupportedOperationException("StateStores can't access offset.");
    }
@Test
    public void shouldThrowOnOffset() {
        assertThrows(UnsupportedOperationException.class, () -> context.offset());
    }