Class ChatComponentAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<ChatComponentAssert,@Nullable ChatComponentSnapshot>
nl.pim16aap2.lightkeeper.framework.assertions.ChatComponentAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<ChatComponentAssert,,ChatComponentSnapshot> org.assertj.core.api.Descriptable<ChatComponentAssert>,org.assertj.core.api.ExtensionPoints<ChatComponentAssert,ChatComponentSnapshot>
public final class ChatComponentAssert
extends org.assertj.core.api.AbstractAssert<ChatComponentAssert,@Nullable ChatComponentSnapshot>
Frozen semantic assertions associating literal text with effective click actions and payloads.
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
info, throwUnsupportedExceptionOnEquals -
Method Summary
Modifier and TypeMethodDescriptionhasClickableText(String text) Checks literal text associated with a click action.runsCommand(String text, String command) Checks the exact command associated with a literal text fragment.suggestsCommand(String text, String command) Checks the exact suggested command associated with literal text.Methods inherited from class org.assertj.core.api.AbstractAssert
actual, asInstanceOf, asList, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, doesNotHaveToString, doesNotMatch, doesNotMatch, equals, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, hasToString, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, usingComparator, usingComparator, usingDefaultComparator, usingEquals, usingEquals, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnErrorMethods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs, describedAs
-
Method Details
-
hasClickableText
Checks literal text associated with a click action.- Parameters:
text- Nonempty literal text fragment.- Returns:
- This assertion.
-
runsCommand
Checks the exact command associated with a literal text fragment.- Parameters:
text- Nonempty literal text fragment.command- Exact run-command payload.- Returns:
- This assertion.
-
suggestsCommand
Checks the exact suggested command associated with literal text.- Parameters:
text- Nonempty literal text fragment.command- Exact suggested payload, including trailing spaces.- Returns:
- This assertion.
-