public class ContainsExpectation<E,T extends Collection<E>> extends Object implements PropertyExpectation<T>
PropertyExpectation to verify if a Collection contains a given expectedpublic ContainsExpectation(E expected)
public boolean matches(T actual)
PropertyExpectationmatches in interface PropertyExpectation<T extends Collection<E>>public String describe()
PropertyExpectationdescribe in interface PropertyExpectation<T extends Collection<E>>Copyright © 2014. All Rights Reserved.