org.opengis.cite.ogcapifeatures10

## Class EtsAssert

- java.lang.Object
- - org.opengis.cite.ogcapifeatures10.EtsAssert

-     public class EtsAssert
      extends Object

  Provides a set of custom assertion methods.
  Author:
    Lyn Goltz

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `EtsAssert()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `assertFalse(boolean valueToAssert, String failureMsg)`
    `static void` | `assertTrue(boolean valueToAssert, String failureMsg)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### EtsAssert

          public EtsAssert()

  - ### Method Detail

    - #### assertTrue

          public static void assertTrue(boolean valueToAssert,
                                        String failureMsg)

      Parameters:
        `valueToAssert` - the boolean to assert to be `true`
        `failureMsg` - the message to throw in case of a failure, should not be `null`

    - #### assertFalse

          public static void assertFalse(boolean valueToAssert,
                                         String failureMsg)

      Parameters:
        `valueToAssert` - the boolean to assert to be `false`
        `failureMsg` - the message to throw in case of a failure, should not be `null`

Copyright © 2021 Open Geospatial Consortium. All rights reserved.