Uses of Class
tech.uom.lib.assertj.assertions.UnitAssert
| Package | Description |
|---|---|
| tech.uom.lib.assertj | |
| tech.uom.lib.assertj.assertions |
-
Uses of UnitAssert in tech.uom.lib.assertj
Methods in tech.uom.lib.assertj that return UnitAssert Modifier and Type Method Description static UnitAssertAssertions. assertThat(javax.measure.Unit actual)Creates a new instance of.UnitAssertUnitAssertSoftAssertions. assertThat(javax.measure.Unit actual)Creates a new "soft" instance of.UnitAssertstatic UnitAssertBddAssertions. then(javax.measure.Unit actual)Creates a new instance of.UnitAssert -
Uses of UnitAssert in tech.uom.lib.assertj.assertions
Methods in tech.uom.lib.assertj.assertions that return UnitAssert Modifier and Type Method Description static UnitAssertUnitAssert. assertThat(javax.measure.Unit actual)An entry point for UnitAssert to follow AssertJ standardassertThat()statements.
With a static import, one can write directly:assertThat(myUnit)and get specific assertion with code completion.