Matches pattern - http://hamcrest.org/JavaHamcrest/javadoc/2.0.0.0/org/hamcrest/text/MatchesPattern.html.
assertThat("FooBarBaz", matchesPattern("^Foo"));
Last updated 5 years ago
This site uses cookies to deliver its service and to analyse traffic. By browsing this site, you accept the privacy policy.