org.mutabilitydetector.unittesting.matchers.reasons
Class WithAllowedReasonsMatcher
java.lang.Object
org.hamcrest.BaseMatcher<AnalysisResult>
org.mutabilitydetector.unittesting.matchers.reasons.WithAllowedReasonsMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<AnalysisResult>, org.hamcrest.SelfDescribing
public final class WithAllowedReasonsMatcher
- extends org.hamcrest.BaseMatcher<AnalysisResult>
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
withAllowedReasons
public static WithAllowedReasonsMatcher withAllowedReasons(org.hamcrest.Matcher<AnalysisResult> areImmutable,
Iterable<org.hamcrest.Matcher<MutableReasonDetail>> allowing)
withNoAllowedReasons
public static WithAllowedReasonsMatcher withNoAllowedReasons(org.hamcrest.Matcher<AnalysisResult> areImmutable)
matches
public boolean matches(Object item)
describeMismatch
public void describeMismatch(Object item,
org.hamcrest.Description description)
- Specified by:
describeMismatch
in interface org.hamcrest.Matcher<AnalysisResult>
- Overrides:
describeMismatch
in class org.hamcrest.BaseMatcher<AnalysisResult>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2013. All Rights Reserved.