Class Assertions

java.lang.Object
tech.uom.lib.assertj.Assertions

@Generated("assertj-assertions-generator") public class Assertions extends Object
Entry point for assertions of different data types. Each method in this class is a static factory for the type-specific assertion objects.
  • Constructor Details

    • Assertions

      protected Assertions()
      Creates a new Assertions.
  • Method Details

    • assertThat

      public static DimensionAssert assertThat(javax.measure.Dimension actual)
      Creates a new instance of
      invalid reference
      javax.measure.DimensionAssert
      .
      Parameters:
      actual - the actual value.
      Returns:
      the created assertion object.
    • assertThat

      public static QuantityAssert assertThat(javax.measure.Quantity actual)
      Creates a new instance of QuantityAssert.
      Parameters:
      actual - the actual value.
      Returns:
      the created assertion object.
    • assertThat

      public static UnitAssert assertThat(javax.measure.Unit actual)
      Creates a new instance of UnitAssert.
      Parameters:
      actual - the actual value.
      Returns:
      the created assertion object.