Class ExtendedAssertions
java.lang.Object
org.assertj.core.api.Assertions
de.hybris.platform.testframework.assertions.assertj.ExtendedAssertions
public class ExtendedAssertions
extends org.assertj.core.api.Assertions
Utility class that makes it easy to use custom assertions provided by SAP Commerce testframework.
This class can be used instead of Assertions, even in static import, ex:
import static de.hybris.platform.testframework.assertions.assertj.ExtendedAssertions.assertThat;
With such import you can use both built-in and custom assertions with simple assertThat(obj)-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MediaAssertassertThat(MediaModel actual) static MediaAssertassertThat(Media actual) static ModelStateAssertassertThat(AbstractItemModel actual) static InputStreamAssertassertThat(InputStream actual) Methods inherited from class org.assertj.core.api.Assertions
allOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatExceptionOfType, assertThatThrownBy, atIndex, catchThrowable, contentOf, contentOf, contentOf, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, in, linesOf, linesOf, linesOf, linesOf, linesOf, linesOf, not, not, notIn, offset, offset, registerCustomDateFormat, registerCustomDateFormat, registerFormatterForType, setAllowComparingPrivateFields, setAllowExtractingPrivateFields, setLenientDateParsing, setMaxLengthForSingleLineDescription, setRemoveAssertJRelatedElementsFromStackTrace, shouldHaveThrown, tuple, useDefaultDateFormatsOnly, useDefaultRepresentation, useRepresentation, within, within, within, within, within, within, within, withinPercentage, withinPercentage, withinPercentage, withPrecision, withPrecision
-
Constructor Details
-
ExtendedAssertions
public ExtendedAssertions()
-
-
Method Details
-
assertThat
-
assertThat
-
assertThat
-
assertThat
-