@Test public void testGetRealm() throws Throwable { LogSource source = new ISO87APackagerBBitmap(); LogEvent logEvent = new LogEvent(source, "testLogEventTag", Integer.valueOf(-2)); String result = logEvent.getRealm(); assertNull(result, "result"); assertSame(source, logEvent.getSource(), "logEvent.source"); }
public String getRealm() { return source != null ? source.getRealm() : ""; }
LogEvent { public String getRealm() { return source != null ? source.getRealm() : ""; } }
LogEvent { public String getRealm() { return source != null ? source.getRealm() : ""; } LogEvent(String tag);  LogEvent();  LogEvent(String tag, Object msg);  LogEvent(LogSource source, String tag);  LogEvent(LogSource source, String tag, Object msg); }
LogEvent { public String getRealm() { return source != null ? source.getRealm() : ""; } LogEvent(String tag);  LogEvent();  LogEvent(String tag, Object msg);  LogEvent(LogSource source, String tag);  LogEvent(LogSource source, String tag, Object msg); String getTag(); void setTag(String tag); void addMessage(Object msg); void addMessage(String tagname, String message); LogSource getSource(); void setSource(LogSource source); void setNoArmor(boolean noArmor); void dump(PrintStream p, String outer); String getRealm(); List<Object> getPayLoad(); String toString(String indent); String toString(); boolean isHonorSourceLogger(); }
LogEvent { public String getRealm() { return source != null ? source.getRealm() : ""; } LogEvent(String tag);  LogEvent();  LogEvent(String tag, Object msg);  LogEvent(LogSource source, String tag);  LogEvent(LogSource source, String tag, Object msg); String getTag(); void setTag(String tag); void addMessage(Object msg); void addMessage(String tagname, String message); LogSource getSource(); void setSource(LogSource source); void setNoArmor(boolean noArmor); void dump(PrintStream p, String outer); String getRealm(); List<Object> getPayLoad(); String toString(String indent); String toString(); boolean isHonorSourceLogger();  }