Class DocumentSerdesTest

  • All Implemented Interfaces:
    Testing

    public class DocumentSerdesTest
    extends Object
    implements Testing
    Author:
    Randall Hauch
    • Field Detail

      • SERDES

        private static final io.debezium.document.DocumentSerdes SERDES
    • Constructor Detail

      • DocumentSerdesTest

        public DocumentSerdesTest()
    • Method Detail

      • shouldConvertFromBytesToDocument1

        public void shouldConvertFromBytesToDocument1()
                                               throws IOException
        Throws:
        IOException
      • shouldUseSerdeMethodToConvertFromBytesToDocument2

        public void shouldUseSerdeMethodToConvertFromBytesToDocument2()
                                                               throws IOException
        Throws:
        IOException
      • shouldUseSerdeMethodToConvertFromBytesToDocument3

        public void shouldUseSerdeMethodToConvertFromBytesToDocument3()
                                                               throws IOException
        Throws:
        IOException
      • shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse1

        public void shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse1()
                                                                          throws IOException
        Throws:
        IOException
      • shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse2

        public void shouldUseSerdeMethodToConvertFromBytesToDocumentForResponse2()
                                                                          throws IOException
        Throws:
        IOException
      • roundTrip

        protected void roundTrip​(io.debezium.document.Document doc,
                                 IntConsumer sizeAccumulator)