When i use @ViewAccsessScoped beans from CODI i get the following error, when using Arquillian for testing my beans.
org.jboss.arquillian.test.spi.ArquillianProxyException: org.jboss.weld.context.ContextNotActiveException : WELD-001303 No active contexts for scope type org.apache.myfaces.extensions.cdi.core.api.scope.conversation.ViewAccessScoped
is there anyway to get this to work?
//Trind
I tried to mock the FacesContext and got it working no idea if this is the best approch however. I used Mockito to when doing the mocks.