jdave.containment
Class ObjectContainment<T>

java.lang.Object
  extended by org.hamcrest.BaseMatcher<java.util.Collection<T>>
      extended by jdave.BaseMatcherContainment<T>
          extended by jdave.containment.ObjectContainment<T>
All Implemented Interfaces:
IContainment<T>, org.hamcrest.Matcher<java.util.Collection<T>>, org.hamcrest.SelfDescribing

public class ObjectContainment<T>
extends BaseMatcherContainment<T>

Author:
Joni Freeman

Field Summary
 
Fields inherited from class jdave.BaseMatcherContainment
actual
 
Constructor Summary
ObjectContainment(java.lang.Object object)
           
 
Method Summary
 java.lang.String error(java.util.Collection<T> actual)
           
 boolean matches(java.util.Collection<T> actual)
           
 java.lang.String toString()
           
 
Methods inherited from class jdave.BaseMatcherContainment
describeTo, matches
 
Methods inherited from class org.hamcrest.BaseMatcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.hamcrest.Matcher
_dont_implement_Matcher___instead_extend_BaseMatcher_
 

Constructor Detail

ObjectContainment

public ObjectContainment(java.lang.Object object)
Method Detail

matches

public boolean matches(java.util.Collection<T> actual)

error

public java.lang.String error(java.util.Collection<T> actual)

toString

public java.lang.String toString()
Overrides:
toString in class org.hamcrest.BaseMatcher<java.util.Collection<T>>


Copyright © 2009. All Rights Reserved.