Class Assertions
java.lang.Object
tech.uom.lib.assertj.Assertions
Entry point for assertions of different data types. Each method in this class is a static factory for the
type-specific assertion objects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DimensionAssertassertThat(javax.measure.Dimension actual) Creates a new instance of.invalid reference
javax.measure.DimensionAssertstatic QuantityAssertassertThat(javax.measure.Quantity actual) Creates a new instance of.QuantityAssertstatic UnitAssertassertThat(javax.measure.Unit actual) Creates a new instance of.UnitAssert
-
Constructor Details
-
Assertions
protected Assertions()Creates a new.Assertions
-
-
Method Details
-
assertThat
Creates a new instance of.invalid reference
javax.measure.DimensionAssert- Parameters:
actual- the actual value.- Returns:
- the created assertion object.
-
assertThat
Creates a new instance of.QuantityAssert- Parameters:
actual- the actual value.- Returns:
- the created assertion object.
-
assertThat
Creates a new instance of.UnitAssert- Parameters:
actual- the actual value.- Returns:
- the created assertion object.
-