DestroyedInstanceReturnedByGetTest currently calls
destroyContext(getCurrentManager().getContext(SessionScoped.class)); setContextActive(getCurrentManager().getContext(SessionScoped.class));
The problem is that destroying the SessionContext will render it inactive. So the getContext() call in the following line will throw a ContextNotActiveException according to the spec 6.5.1: "If no active context object exists for the scope type, the container throws a ContextNotActiveException."
- is blocked by
-
CDITCK-181 Tests try to use beanManager.getContext() to get a scope they know is inactive
- Closed
- relates to
-
CDITCK-181 Tests try to use beanManager.getContext() to get a scope they know is inactive
- Closed