Package tech.uom.lib.assertj
Class BddAssertions
java.lang.Object
tech.uom.lib.assertj.BddAssertions
Entry point for BDD assertions of different data types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DimensionAssert
then
(javax.measure.Dimension actual) Creates a new instance of
.DimensionAssert
static QuantityAssert
then
(javax.measure.Quantity actual) Creates a new instance of
.QuantityAssert
static UnitAssert
then
(javax.measure.Unit actual) Creates a new instance of
.UnitAssert
-
Constructor Details
-
BddAssertions
protected BddAssertions()Creates a new
.BddAssertions
-
-
Method Details
-
then
Creates a new instance of
.DimensionAssert
- Parameters:
actual
- the actual value.- Returns:
- the created assertion object.
-
then
Creates a new instance of
.QuantityAssert
- Parameters:
actual
- the actual value.- Returns:
- the created assertion object.
-
then
Creates a new instance of
.UnitAssert
- Parameters:
actual
- the actual value.- Returns:
- the created assertion object.
-