### Question:
KnoxPamRealm extends AuthorizingRealm { public void setService(String service) { this.service = service; } KnoxPamRealm(); void setService(String service); String getService();  }### Answer:
@Test public void setService() { KnoxPamRealm realm = new KnoxPamRealm(); realm.setService("knox-pam-os-service"); }