Package tech.uom.lib.assertj
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 DimensionAssert
assertThat
(javax.measure.Dimension actual) Creates a new instance ofinvalid reference
javax.measure.DimensionAssert
static QuantityAssert
assertThat
(javax.measure.Quantity actual) Creates a new instance of
.QuantityAssert
static UnitAssert
assertThat
(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 ofinvalid 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.
-