public class PassivationCapableDependencyErrorCausedByExtensionDetectedTest extends AbstractTest
Wheel, which is a dependency of normal scoped Bicycle class, is turned into dependent bean (and thus it is no
longer a passivation capable dependency). Let's see if the container detects this.
This test was originally part of Weld test suite.
beanManager| Constructor and Description |
|---|
PassivationCapableDependencyErrorCausedByExtensionDetectedTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
test() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, isThrowablePresent, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatchespublic PassivationCapableDependencyErrorCausedByExtensionDetectedTest()
@ShouldThrowException(value=javax.enterprise.inject.spi.DeploymentException.class) @Deployment public static org.jboss.shrinkwrap.api.spec.WebArchive createTestArchive()
@SpecAssertions(value=@SpecAssertion(section="passivation_validation",id="aa")) public void test()
Copyright © 2008-2013 Seam Framework. All Rights Reserved.