@Test public void testRemoveContext() throws Exception { PirasoContext context = mock(PirasoContext.class); PirasoContextHolder.setContext(context); assertSame(context, PirasoContextHolder.getContext()); PirasoContextHolder.removeContext(); assertNull(PirasoContextHolder.getContext()); }
public static void removeContext() { pirasoContextHolder.remove(); }
PirasoContextHolder { public static void removeContext() { pirasoContextHolder.remove(); } }
PirasoContextHolder { public static void removeContext() { pirasoContextHolder.remove(); } private  PirasoContextHolder(); }
PirasoContextHolder { public static void removeContext() { pirasoContextHolder.remove(); } private  PirasoContextHolder(); static void setContext(PirasoContext context); static void removeContext(); static PirasoContext getContext(); }
PirasoContextHolder { public static void removeContext() { pirasoContextHolder.remove(); } private  PirasoContextHolder(); static void setContext(PirasoContext context); static void removeContext(); static PirasoContext getContext();  }