org.mutabilitydetector.unittesting.matchers
Class IsImmutableMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeDiagnosingMatcher<AnalysisResult>
org.mutabilitydetector.unittesting.matchers.IsImmutableMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<AnalysisResult>, org.hamcrest.SelfDescribing
public final class IsImmutableMatcher
- extends org.hamcrest.TypeSafeDiagnosingMatcher<AnalysisResult>
Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher |
describeMismatch, matches |
Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
hasIsImmutableStatusOf
public static IsImmutableMatcher hasIsImmutableStatusOf(IsImmutable isImmutable)
matchesSafely
public boolean matchesSafely(AnalysisResult item,
org.hamcrest.Description mismatchDescription)
- Specified by:
matchesSafely
in class org.hamcrest.TypeSafeDiagnosingMatcher<AnalysisResult>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2013. All Rights Reserved.