Class Assertions


  • @Generated("assertj-assertions-generator")
    public class Assertions
    extends java.lang.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 Detail

      • Assertions

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

      • assertThat

        public static DimensionAssert assertThat​(javax.measure.Dimension actual)
        Creates a new instance of 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.