org.mutabilitydetector.unittesting.matchers
Class IsImmutableMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.hamcrest.TypeSafeDiagnosingMatcher<AnalysisResult>
          extended by org.mutabilitydetector.unittesting.matchers.IsImmutableMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<AnalysisResult>, org.hamcrest.SelfDescribing

public final class IsImmutableMatcher
extends org.hamcrest.TypeSafeDiagnosingMatcher<AnalysisResult>


Method Summary
 void describeTo(org.hamcrest.Description description)
           
static IsImmutableMatcher hasIsImmutableStatusOf(IsImmutable isImmutable)
           
 boolean matchesSafely(AnalysisResult item, org.hamcrest.Description mismatchDescription)
           
 
Methods inherited from class org.hamcrest.TypeSafeDiagnosingMatcher
describeMismatch, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

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.