org.apache.maven.shared.release.phase
Class IsScmFileSetEquals

java.lang.Object
  extended by org.hamcrest.BaseMatcher<T>
      extended by org.mockito.ArgumentMatcher<ScmFileSet>
          extended by org.apache.maven.shared.release.phase.IsScmFileSetEquals
All Implemented Interfaces:
org.hamcrest.Matcher<ScmFileSet>, org.hamcrest.SelfDescribing

public class IsScmFileSetEquals
extends org.mockito.ArgumentMatcher<ScmFileSet>

JMock constraint to compare file sets since it has no equals method.

Author:
Brett Porter

Constructor Summary
IsScmFileSetEquals(ScmFileSet fileSet)
           
 
Method Summary
 boolean matches(Object argument)
           
 
Methods inherited from class org.mockito.ArgumentMatcher
describeTo
 
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
 

Constructor Detail

IsScmFileSetEquals

public IsScmFileSetEquals(ScmFileSet fileSet)
Method Detail

matches

public boolean matches(Object argument)
Specified by:
matches in interface org.hamcrest.Matcher<ScmFileSet>
Specified by:
matches in class org.mockito.ArgumentMatcher<ScmFileSet>


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.