@Test
public void customUserPattern() {

  try {
    UserProvider.setUserPattern("1");
    new UserProvider.UserParam("1");      
  } finally {
    UserProvider.setUserPattern(UserProvider.USER_PATTERN_DEFAULT);
  }
}