@Test
void testExtractProcessingState() {

    for (ProcessingState processingState : ProcessingState.values()) {
        RefDataProcessingInfo refDataProcessingInfo = new RefDataProcessingInfo(
                0L,
                1000L,
                100L,
                processingState);
        ByteBuffer valueBuffer = serialize(refDataProcessingInfo);
        ProcessingState foundProcessingState = RefDataProcessingInfoSerde.extractProcessingState(valueBuffer);
        assertThat(foundProcessingState).isEqualTo(processingState);
    }
}