net.thucydides.core.hamcrest
Class ContainsInOrderMatcher
java.lang.Object
org.hamcrest.BaseMatcher<T>
org.hamcrest.TypeSafeMatcher<List<String>>
net.thucydides.core.hamcrest.ContainsInOrderMatcher
- All Implemented Interfaces:
- org.hamcrest.Matcher<List<String>>, org.hamcrest.SelfDescribing
public class ContainsInOrderMatcher
- extends org.hamcrest.TypeSafeMatcher<List<String>>
Check that a list of strings contains specific strings in a specific order.
| Methods inherited from class org.hamcrest.TypeSafeMatcher |
matches |
| Methods inherited from class org.hamcrest.BaseMatcher |
_dont_implement_Matcher___instead_extend_BaseMatcher_, toString |
ContainsInOrderMatcher
public ContainsInOrderMatcher(String... values)
matchesSafely
public boolean matchesSafely(List<String> orderedListOfValues)
- Specified by:
matchesSafely in class org.hamcrest.TypeSafeMatcher<List<String>>
describeTo
public void describeTo(org.hamcrest.Description description)
Copyright © 2011 Wakaleo Consulting. All Rights Reserved.