org.silverpeas.attachment.repository
Class SimpleDocumentAttributesMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<SimpleDocument>
      extended by org.silverpeas.attachment.repository.SimpleDocumentAttributesMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<SimpleDocument>, org.hamcrest.SelfDescribing

public class SimpleDocumentAttributesMatcher
extends org.hamcrest.BaseMatcher<SimpleDocument>

Author:
ehugonnet

Method Summary
 void describeTo(org.hamcrest.Description description)
           
 boolean matches(Object item)
           
static SimpleDocumentAttributesMatcher matches(SimpleDocument document)
          Creates a new matcher with the specified document.
 
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 boolean matches(Object item)

describeTo

public void describeTo(org.hamcrest.Description description)

matches

public static SimpleDocumentAttributesMatcher 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.