Class SchemaTestUtils


  • public class SchemaTestUtils
    extends Object
    Test utilities for schemas.
    • Constructor Detail

      • SchemaTestUtils

        public SchemaTestUtils()
    • Method Detail

      • open

        public static void open​(SerializationSchema<?> schema)
        Opens the given schema with a mock initialization context.
        Parameters:
        schema - to open
        Throws:
        RuntimeException - if the schema throws an exception
      • open

        public static void open​(DeserializationSchema<?> schema)
        Opens the given schema with a mock initialization context.
        Parameters:
        schema - to open
        Throws:
        RuntimeException - if the schema throws an exception