org.silverpeas.resourcesmanager.web
Class ReservedResourceEntityMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<ReservedResourceEntity>
      extended by org.silverpeas.resourcesmanager.web.ReservedResourceEntityMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<ReservedResourceEntity>, org.hamcrest.SelfDescribing

public class ReservedResourceEntityMatcher
extends org.hamcrest.BaseMatcher<ReservedResourceEntity>

Author:
Yohann Chastagnier

Constructor Summary
protected ReservedResourceEntityMatcher(Long reservationId, Resource expected)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
static ReservedResourceEntityMatcher matches(Long reservationId, Resource expected)
           
 boolean matches(Object item)
           
 
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
 

Constructor Detail

ReservedResourceEntityMatcher

protected ReservedResourceEntityMatcher(Long reservationId,
                                        Resource expected)
Method Detail

describeTo

public void describeTo(org.hamcrest.Description description)

matches

public boolean matches(Object item)

matches

public static ReservedResourceEntityMatcher matches(Long reservationId,
                                                    Resource expected)


Copyright © 2016 Silverpeas. All Rights Reserved.