org.silverpeas.attachment.repository
Class SimpleDocumentMatcher
java.lang.Object
org.hamcrest.BaseMatcher<SimpleDocument>
org.silverpeas.attachment.repository.SimpleDocumentMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<SimpleDocument>, org.hamcrest.SelfDescribing
public class SimpleDocumentMatcher
- extends org.hamcrest.BaseMatcher<SimpleDocument>
- Author:
- ehugonnet
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, describeMismatch, toString |
matches
public boolean matches(Object item)
describeTo
public void describeTo(org.hamcrest.Description description)
matches
public static SimpleDocumentMatcher matches(SimpleDocument document)
- Creates a new matcher with the specified document.
- Parameters:
document - the document to match.
- Returns:
- a document matcher.
Copyright © 2016 Silverpeas. All Rights Reserved.