org.silverpeas.attachment.repository
Class SimpleAttachmentMatcher

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

public class SimpleAttachmentMatcher
extends org.hamcrest.BaseMatcher<SimpleAttachment>

Author:
ehugonnet

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

Parameters:
attachment - the attachment to match.
Returns:
a attachment matcher.


Copyright © 2016 Silverpeas. All Rights Reserved.