public static class LithoAssertions.LithoComponentAssert
extends <any>
Modifier and Type | Method and Description |
---|---|
<T1,T2> LithoAssertions.LithoComponentAssert |
hasProps(<any>... propsValuePairs)
Assert that a given
Component has a property equaling the provided value. |
<T1,T2> LithoAssertions.LithoComponentAssert |
hasPropsMatching(<any>... propsMatcherPairs)
Assert that a given
Component has a property matching the provided matcher. |
LithoAssertions.LithoComponentAssert |
isEquivalentTo(Component other)
Assert that given is equivalent to the provided one.
|
LithoAssertions.LithoComponentAssert |
isEquivalentTo(Component other,
boolean shouldCompareCommonProps)
Assert that given is the same as the provided one including its props.
|
public <T1,T2> LithoAssertions.LithoComponentAssert hasProps(<any>... propsValuePairs)
Component
has a property equaling the provided value.public <T1,T2> LithoAssertions.LithoComponentAssert hasPropsMatching(<any>... propsMatcherPairs)
Component
has a property matching the provided matcher.public LithoAssertions.LithoComponentAssert isEquivalentTo(Component other)
public LithoAssertions.LithoComponentAssert isEquivalentTo(Component other, boolean shouldCompareCommonProps)