Class ParserOptionsTestUtils

  • public final class ParserOptionsTestUtils
    extends Object
    • Method Detail

      • verifyOptionsEqualsHashcode

        public static void verifyOptionsEqualsHashcode​(ParserOptions options1,
                                                       ParserOptions options2,
                                                       ParserOptions options3,
                                                       ParserOptions options4)
        Verify equals and hashCode for 4 ParserOptions instances. The given options should be as follows: 1 and 3 are equals, as are 2 and 4.
        options1 - first option instance - equals third
        options2 - second option instance - equals fourth
        options3 - third option instance - equals first
        options4 - fourth option instance - equals second