Interface MessageValidation.Expectation<V>

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void test​(java.lang.String path, V value)
      Test the expectation at a specific path in the structure.
    • Method Detail

      • test

        void test​(java.lang.String path,
                  V value)
           throws java.lang.Exception
        Test the expectation at a specific path in the structure.
        Parameters:
        path - The path to the current location.
        value - The value to be tested.
        Throws:
        java.lang.Exception - On validation failure.