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

public class ItemMetaAnyLoreMatcher extends org.hamcrest.TypeSafeMatcher<ItemMetaMock>
  • Constructor Details

    • ItemMetaAnyLoreMatcher

      public ItemMetaAnyLoreMatcher()
  • Method Details

    • matchesSafely

      protected boolean matchesSafely(ItemMetaMock itemMetaMock)
      Specified by:
      matchesSafely in class org.hamcrest.TypeSafeMatcher<ItemMetaMock>
    • describeTo

      public void describeTo(org.hamcrest.Description description)
    • describeMismatchSafely

      protected void describeMismatchSafely(ItemMetaMock itemMeta, org.hamcrest.Description description)
      Overrides:
      describeMismatchSafely in class org.hamcrest.TypeSafeMatcher<ItemMetaMock>
    • hasAnyLore

      @NotNull public static @NotNull ItemMetaAnyLoreMatcher hasAnyLore()
      Returns:
      A matcher which matches with any meta with any lore
    • hasNoLore

      @NotNull public static @NotNull org.hamcrest.Matcher<ItemMetaMock> hasNoLore()
      Returns:
      A matcher which matches with any meta without any lore