Class DimensionAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<DimensionAssert, javax.measure.Dimension>
org.assertj.core.api.AbstractObjectAssert<DimensionAssert, javax.measure.Dimension>
tech.uom.lib.assertj.assertions.AbstractDimensionAssert<DimensionAssert, javax.measure.Dimension>
tech.uom.lib.assertj.assertions.DimensionAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<DimensionAssert, javax.measure.Dimension>, org.assertj.core.api.Descriptable<DimensionAssert>, org.assertj.core.api.ExtensionPoints<DimensionAssert, javax.measure.Dimension>
@Generated("assertj-assertions-generator")
public class DimensionAssert
extends AbstractDimensionAssert<DimensionAssert, javax.measure.Dimension>
Dimension specific assertions - Generated by CustomAssertionGenerator.
Although this class is not final to allow Soft assertions proxy, if you wish to extend it,
extend AbstractDimensionAssert instead.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsConstructorDescriptionDimensionAssert(javax.measure.Dimension actual) Creates a newto make assertions on actual Dimension.DimensionAssert -
Method Summary
Modifier and TypeMethodDescriptionstatic DimensionAssertassertThat(javax.measure.Dimension actual) An entry point for DimensionAssert to follow AssertJ standardassertThat()statements.
With a static import, one can write directly:assertThat(myDimension)and get specific assertion with code completion.Methods inherited from class AbstractDimensionAssert
hasBaseDimensionsMethods inherited from class org.assertj.core.api.AbstractObjectAssert
as, as, doesNotReturn, extracting, extracting, extracting, extracting, extracting, extracting, extractingForProxy, getComparatorsByType, hasAllNullFieldsOrProperties, hasAllNullFieldsOrPropertiesExcept, hasFieldOrProperty, hasFieldOrPropertyWithValue, hasNoNullFieldsOrProperties, hasNoNullFieldsOrPropertiesExcept, hasOnlyFields, isEqualToComparingFieldByField, isEqualToComparingFieldByFieldRecursively, isEqualToComparingOnlyGivenFields, isEqualToIgnoringGivenFields, isEqualToIgnoringNullFields, newObjectAssert, returns, usingComparatorForFields, usingComparatorForType, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparisonMethods inherited from class org.assertj.core.api.AbstractAssert
actual, areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, inBinary, inHexadecimal, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, describedAs, describedAs
-
Constructor Details
-
DimensionAssert
public DimensionAssert(javax.measure.Dimension actual) Creates a newto make assertions on actual Dimension.DimensionAssert- Parameters:
actual- the Dimension we want to make assertions on.
-
-
Method Details
-
assertThat
An entry point for DimensionAssert to follow AssertJ standardassertThat()statements.
With a static import, one can write directly:assertThat(myDimension)and get specific assertion with code completion.- Parameters:
actual- the Dimension we want to make assertions on.- Returns:
- a new
DimensionAssert
-