![JAR search and dependency download from the Maven repository](/logo.png)
tech.uom.lib.assertj.assertions.DimensionAssert Maven / Gradle / Ivy
package tech.uom.lib.assertj.assertions;
import javax.measure.Dimension;
/**
* {@link Dimension} specific assertions - Generated by CustomAssertionGenerator.
*
* Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
* extend {@link AbstractDimensionAssert} instead.
*/
@javax.annotation.Generated(value="assertj-assertions-generator")
public class DimensionAssert extends AbstractDimensionAssert {
/**
* Creates a new {@link DimensionAssert}
to make assertions on actual Dimension.
* @param actual the Dimension we want to make assertions on.
*/
public DimensionAssert(Dimension actual) {
super(actual, DimensionAssert.class);
}
/**
* An entry point for DimensionAssert to follow AssertJ standard assertThat()
statements.
* With a static import, one can write directly: assertThat(myDimension)
and get specific assertion with code completion.
* @param actual the Dimension we want to make assertions on.
* @return a new {@link DimensionAssert}
*/
@org.assertj.core.util.CheckReturnValue
public static DimensionAssert assertThat(Dimension actual) {
return new DimensionAssert(actual);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy