org.silverpeas.attachment.web
Class SimpleDocumentEntityMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<SimpleDocumentEntity>
      extended by org.silverpeas.attachment.web.SimpleDocumentEntityMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<SimpleDocumentEntity>, org.hamcrest.SelfDescribing

public class SimpleDocumentEntityMatcher
extends org.hamcrest.BaseMatcher<SimpleDocumentEntity>

Author:
ehugonnet

Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object item)
           
static SimpleDocumentEntityMatcher matches(SimpleDocument document1)
          Creates a new matcher with the specified SimpleDocument.
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

matches

public static SimpleDocumentEntityMatcher matches(SimpleDocument document1)
Creates a new matcher with the specified SimpleDocument.

Parameters:
document1 - the SimpleDocument to match.
Returns:
a SimpleDocumentEntity matcher.

matches

public boolean matches(Object item)

describeTo

public void describeTo(org.hamcrest.Description description)


Copyright © 2016 Silverpeas. All Rights Reserved.