org.test4j.hamcrest.matcher.mockito
类 Matches
java.lang.Object
ext.test4j.hamcrest.BaseMatcher<T>
org.test4j.hamcrest.matcher.mockito.ArgumentMatcher<Object>
org.test4j.hamcrest.matcher.mockito.Matches
- 所有已实现的接口:
- Matcher<Object>, SelfDescribing, Serializable
public class Matches
- extends ArgumentMatcher<Object>
- implements Serializable
- 另请参见:
- 序列化表格
Matches
public Matches(String regex)
matches
public boolean matches(Object actual)
- 从类
ArgumentMatcher 复制的描述
- Returns whether this matcher accepts the given argument.
The method should never assert if the argument doesn't match. It
should only return false.
- 指定者:
- 接口
Matcher<Object> 中的 matches - 指定者:
- 类
ArgumentMatcher<Object> 中的 matches
- 参数:
actual - the argument
- 返回:
- whether this matcher accepts the given argument.
describeTo
public void describeTo(Description description)
- 指定者:
- 接口
SelfDescribing 中的 describeTo - 覆盖:
- 类
ArgumentMatcher<Object> 中的 describeTo
Copyright © 2013. All rights reserved.