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