code: public static void assertPattern(String string, String pattern, final StatusType status) {
  		RESTAssert.assertNotNull(string);
  		RESTAssert.assertNotNull(pattern);
  		RESTAssert.assertTrue(string.matches(pattern), status);
  	}
docs: assert that string matches the given pattern
  
  @param string the string to check
  @param status the status code to throw
  @throws WebApplicationException with given status code