Class CommandResultAnyResponseMatcher
java.lang.Object
org.hamcrest.BaseMatcher<CommandResult>
org.hamcrest.TypeSafeMatcher<CommandResult>
org.mockbukkit.mockbukkit.matcher.command.CommandResultAnyResponseMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<CommandResult>,org.hamcrest.SelfDescribing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(CommandResult commandResult, org.hamcrest.Description mismatchDescription) voiddescribeTo(org.hamcrest.Description description) static @NotNull CommandResultAnyResponseMatcherstatic @NotNull org.hamcrest.Matcher<CommandResult> protected booleanmatchesSafely(CommandResult commandResult) Methods inherited from class org.hamcrest.TypeSafeMatcher
describeMismatch, matchesMethods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, isNotNull, toString
-
Constructor Details
-
CommandResultAnyResponseMatcher
public CommandResultAnyResponseMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<CommandResult>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
protected void describeMismatchSafely(CommandResult commandResult, org.hamcrest.Description mismatchDescription) - Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<CommandResult>
-
hasAnyResponse
- Returns:
- A matcher which matches with any command result with any response
-
hasNoResponse
- Returns:
- A matcher which matches with any command result with no response
-