@Test public void isSet_withUnknown() { MDC.put(KEY, UNKNOWN); assertThat(UserIdMdcHelper.isSet(), is(false)); }
public static boolean isSet() { String userId = MDC.get(KEY); return !(Strings.isNullOrEmpty(userId) || UNKNOWN.equals(userId)); }
UserIdMdcHelper { public static boolean isSet() { String userId = MDC.get(KEY); return !(Strings.isNullOrEmpty(userId) || UNKNOWN.equals(userId)); } }
UserIdMdcHelper { public static boolean isSet() { String userId = MDC.get(KEY); return !(Strings.isNullOrEmpty(userId) || UNKNOWN.equals(userId)); } private  UserIdMdcHelper(); }
UserIdMdcHelper { public static boolean isSet() { String userId = MDC.get(KEY); return !(Strings.isNullOrEmpty(userId) || UNKNOWN.equals(userId)); } private  UserIdMdcHelper(); static boolean isSet(); static void setIfNeeded(); static void set(final Subject subject); static void set(); static void unknown(); static void system(); static void unset(); }
UserIdMdcHelper { public static boolean isSet() { String userId = MDC.get(KEY); return !(Strings.isNullOrEmpty(userId) || UNKNOWN.equals(userId)); } private  UserIdMdcHelper(); static boolean isSet(); static void setIfNeeded(); static void set(final Subject subject); static void set(); static void unknown(); static void system(); static void unset(); static final String KEY; }