Uses of Class
tech.uom.lib.assertj.assertions.QuantityAssert
| Package | Description |
|---|---|
| tech.uom.lib.assertj | |
| tech.uom.lib.assertj.assertions |
-
Uses of QuantityAssert in tech.uom.lib.assertj
Methods in tech.uom.lib.assertj that return QuantityAssert Modifier and Type Method Description static QuantityAssertAssertions. assertThat(javax.measure.Quantity actual)Creates a new instance of.QuantityAssertQuantityAssertSoftAssertions. assertThat(javax.measure.Quantity actual)Creates a new "soft" instance of.QuantityAssertstatic QuantityAssertBddAssertions. then(javax.measure.Quantity actual)Creates a new instance of.QuantityAssert -
Uses of QuantityAssert in tech.uom.lib.assertj.assertions
Methods in tech.uom.lib.assertj.assertions that return QuantityAssert Modifier and Type Method Description static QuantityAssertQuantityAssert. assertThat(javax.measure.Quantity actual)An entry point for QuantityAssert to follow AssertJ standardassertThat()statements.
With a static import, one can write directly:assertThat(myQuantity)and get specific assertion with code completion.