Class AbstractDimensionAssert<S extends AbstractDimensionAssert<S,A> , A extends javax.measure.Dimension>
java.lang.Object
org.assertj.core.api.AbstractAssert<S,A>
org.assertj.core.api.AbstractObjectAssert<S,A>
tech.uom.lib.assertj.assertions.AbstractDimensionAssert<S,A>
- All Implemented Interfaces:
org.assertj.core.api.Assert<S,A>, org.assertj.core.api.Descriptable<S>, org.assertj.core.api.ExtensionPoints<S, A>
- Direct Known Subclasses:
DimensionAssert
@Generated("assertj-assertions-generator")
public abstract class AbstractDimensionAssert<S extends AbstractDimensionAssert<S,A>, A extends javax.measure.Dimension>
extends org.assertj.core.api.AbstractObjectAssert<S,A>
Abstract base class for
Dimension specific assertions - Generated by CustomAssertionGenerator.-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDimensionAssert(A actual, Class<S> selfType) Creates a newto make assertions on actual Dimension.AbstractDimensionAssert -
Method Summary
Modifier and TypeMethodDescriptionhasBaseDimensions(Map baseDimensions) Verifies that the actual Dimension's baseDimensions is equal to the given one.Methods 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
-
AbstractDimensionAssert
Creates a newto make assertions on actual Dimension.AbstractDimensionAssert- Parameters:
actual- the Dimension we want to make assertions on.
-
-
Method Details
-
hasBaseDimensions
Verifies that the actual Dimension's baseDimensions is equal to the given one.- Parameters:
baseDimensions- the given baseDimensions to compare the actual Dimension's baseDimensions to.- Returns:
- this assertion object.
- Throws:
AssertionError- - if the actual Dimension's baseDimensions is not equal to the given one.
-