Package tech.uom.lib.assertj
Class Assertions
java.lang.Object
tech.uom.lib.assertj.Assertions
@Generated("assertj-assertions-generator") public class Assertions extends 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 Summary
Constructors Modifier Constructor Description protectedAssertions()Creates a new.Assertions -
Method Summary
Modifier and Type Method Description static DimensionAssertassertThat(javax.measure.Dimension actual)Creates a new instance of.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.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.
-