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 DimensionAssertthen(javax.measure.Dimension actual) Creates a new instance of.DimensionAssertstatic QuantityAssertthen(javax.measure.Quantity actual) Creates a new instance of.QuantityAssertstatic UnitAssertthen(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.
-