Package io.strimzi.systemtest.matchers
Class HasAnyOfReasons
- java.lang.Object
-
- org.hamcrest.BaseMatcher<List<io.fabric8.kubernetes.api.model.Event>>
-
- io.strimzi.systemtest.matchers.HasAnyOfReasons
-
- All Implemented Interfaces:
org.hamcrest.Matcher<List<io.fabric8.kubernetes.api.model.Event>>
,org.hamcrest.SelfDescribing
public class HasAnyOfReasons extends org.hamcrest.BaseMatcher<List<io.fabric8.kubernetes.api.model.Event>>
A HasAllOfReasons is custom matcher to check the partial matching of reasons for actual events. Checks at least one match in events.
-
-
Constructor Summary
Constructors Constructor Description HasAnyOfReasons(Events... eventReasons)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
describeTo(org.hamcrest.Description description)
boolean
matches(Object actualValue)
-