public class ContainsInArray<T> extends Object implements PropertyExpectation<T[]>
PropertyExpectation to verify if a Collection contains a given expected| Constructor and Description |
|---|
ContainsInArray(T expected) |
| Modifier and Type | Method and Description |
|---|---|
String |
describe()
Return a description of expectation
|
boolean |
matches(T[] actual)
Check if this expectation is met
|
public ContainsInArray(T expected)
public boolean matches(T[] actual)
PropertyExpectationmatches in interface PropertyExpectation<T[]>public String describe()
PropertyExpectationdescribe in interface PropertyExpectation<T[]>Copyright © 2014. All rights reserved.