Class PromotionResultAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<PromotionResultAssert,PromotionEngineResult>
-
- de.hybris.platform.promotionengineservices.assertions.PromotionResultAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<PromotionResultAssert,PromotionEngineResult>,org.assertj.core.api.Descriptable<PromotionResultAssert>,org.assertj.core.api.ExtensionPoints<PromotionResultAssert,PromotionEngineResult>
public class PromotionResultAssert extends org.assertj.core.api.AbstractAssert<PromotionResultAssert,PromotionEngineResult>
Assertions applicable onPromotionEngineResult
-
-
Constructor Summary
Constructors Constructor Description PromotionResultAssert(PromotionEngineResult actual)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PromotionResultAssertassertThat(PromotionEngineResult actual)PromotionResultAsserthasCode(java.lang.String code)PromotionResultAsserthasDescription(java.lang.String description)PromotionResultAsserthasName(java.lang.String name)PromotionResultAssertisFiredPromotion()PromotionResultAssertisPotentialPromotion()-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, asList, asString, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasToString, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, satisfies, setCustomRepresentation, throwAssertionError, usingComparator, usingDefaultComparator, withFailMessage, withRepresentation, withThreadDumpOnError
-
-
-
-
Constructor Detail
-
PromotionResultAssert
public PromotionResultAssert(PromotionEngineResult actual)
-
-
Method Detail
-
assertThat
public static PromotionResultAssert assertThat(PromotionEngineResult actual)
-
hasCode
public PromotionResultAssert hasCode(java.lang.String code)
-
hasName
public PromotionResultAssert hasName(java.lang.String name)
-
hasDescription
public PromotionResultAssert hasDescription(java.lang.String description)
-
isFiredPromotion
public PromotionResultAssert isFiredPromotion()
-
isPotentialPromotion
public PromotionResultAssert isPotentialPromotion()
-
-