Class ItemMetaAnyLoreMatcher
java.lang.Object
org.hamcrest.BaseMatcher<ItemMetaMock>
org.hamcrest.TypeSafeMatcher<ItemMetaMock>
org.mockbukkit.mockbukkit.matcher.inventory.meta.ItemMetaAnyLoreMatcher
- All Implemented Interfaces:
org.hamcrest.Matcher<ItemMetaMock>,org.hamcrest.SelfDescribing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddescribeMismatchSafely(ItemMetaMock itemMeta, org.hamcrest.Description description) voiddescribeTo(org.hamcrest.Description description) static @NotNull ItemMetaAnyLoreMatcherstatic @NotNull org.hamcrest.Matcher<ItemMetaMock> protected booleanmatchesSafely(ItemMetaMock itemMetaMock) 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
-
ItemMetaAnyLoreMatcher
public ItemMetaAnyLoreMatcher()
-
-
Method Details
-
matchesSafely
- Specified by:
matchesSafelyin classorg.hamcrest.TypeSafeMatcher<ItemMetaMock>
-
describeTo
public void describeTo(org.hamcrest.Description description) -
describeMismatchSafely
- Overrides:
describeMismatchSafelyin classorg.hamcrest.TypeSafeMatcher<ItemMetaMock>
-
hasAnyLore
- Returns:
- A matcher which matches with any meta with any lore
-
hasNoLore
- Returns:
- A matcher which matches with any meta without any lore
-