@Test public void testNullorEmptyRegex() { thrown.expect(NullPointerException.class); serverProfileMapper.setServerRegex(null); thrown.expect(IllegalArgumentException.class); serverProfileMapper.setServerRegex(""); }
@Required public void setServerRegex(String serverRegex) { Validate.notBlank(serverRegex); this.serverRegex = serverRegex; this.pattern = Pattern.compile(this.serverRegex); }
ServerProfileMapperImpl implements IProfileMapper { @Required public void setServerRegex(String serverRegex) { Validate.notBlank(serverRegex); this.serverRegex = serverRegex; this.pattern = Pattern.compile(this.serverRegex); } }
ServerProfileMapperImpl implements IProfileMapper { @Required public void setServerRegex(String serverRegex) { Validate.notBlank(serverRegex); this.serverRegex = serverRegex; this.pattern = Pattern.compile(this.serverRegex); }  }
ServerProfileMapperImpl implements IProfileMapper { @Required public void setServerRegex(String serverRegex) { Validate.notBlank(serverRegex); this.serverRegex = serverRegex; this.pattern = Pattern.compile(this.serverRegex); }  @Required void setServerRegex(String serverRegex); void setProfile(String profile); @Override String getProfileFname(IPerson person, HttpServletRequest request); }
ServerProfileMapperImpl implements IProfileMapper { @Required public void setServerRegex(String serverRegex) { Validate.notBlank(serverRegex); this.serverRegex = serverRegex; this.pattern = Pattern.compile(this.serverRegex); }  @Required void setServerRegex(String serverRegex); void setProfile(String profile); @Override String getProfileFname(IPerson person, HttpServletRequest request);  }