### Question:
RealmContext extends AbstractContext { public String getRelativeRealm() { return relativeRealmPath.getSecond(); } RealmContext(Context parent); String getResolvedRealm(); boolean isRootRealm(); void setDnsAlias(String dnsAlias, String realmPath); void setSubRealm(String realmUri, String realm); void setOverrideRealm(String realm); String getBaseRealm(); String getRelativeRealm(); String getDnsAliasRealm(); static String getRealm(Context context);  }### Answer:
@Test public void getRelativeRealmShouldReturnRootRealmWhenNotSet() { RealmContext context = new RealmContext(new RootContext()); String relativeRealm = context.getRelativeRealm(); assertThat(relativeRealm).isEqualTo("/"); }