com.silverpeas.gallery.web
Class AlbumEntityMatcher

java.lang.Object
  extended by org.hamcrest.BaseMatcher<LinkedHashMap<String,Object>>
      extended by com.silverpeas.gallery.web.AlbumEntityMatcher
All Implemented Interfaces:
org.hamcrest.Matcher<LinkedHashMap<String,Object>>, org.hamcrest.SelfDescribing

public class AlbumEntityMatcher
extends org.hamcrest.BaseMatcher<LinkedHashMap<String,Object>>

Author:
Yohann Chastagnier

Constructor Summary
protected AlbumEntityMatcher(AlbumDetail expected)
           
 
Method Summary
 void describeTo(org.hamcrest.Description description)
           
static AlbumEntity from(LinkedHashMap<String,Object> album)
           
static AlbumEntityMatcher matches(AlbumDetail 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

AlbumEntityMatcher

protected AlbumEntityMatcher(AlbumDetail expected)
Method Detail

describeTo

public void describeTo(org.hamcrest.Description description)

matches

public boolean matches(Object item)

matches

public static AlbumEntityMatcher matches(AlbumDetail expected)

from

public static AlbumEntity from(LinkedHashMap<String,Object> album)


Copyright © 2016 Silverpeas. All Rights Reserved.