public class HasRegex extends org.junit.internal.matchers.TypeSafeMatcher<String>
Modifier and Type | Method and Description |
---|---|
void |
describeTo(org.hamcrest.Description description) |
static org.hamcrest.Matcher<String> |
hasRegex(String regex) |
boolean |
matchesSafely(String s) |
matches
public boolean matchesSafely(String s)
matchesSafely
in class org.junit.internal.matchers.TypeSafeMatcher<String>
public void describeTo(org.hamcrest.Description description)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.