@SpecVersion(spec="cdi",
version="20091101")
public class PassivationCapableDependencyErrorTest
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 |
|---|
PassivationCapableDependencyErrorTest() |
| Modifier and Type | Method and Description |
|---|---|
static org.jboss.shrinkwrap.api.spec.WebArchive |
createTestArchive() |
void |
test() |
activate, annotationSetMatches, annotationSetMatches, destroyContext, getBeans, getBeans, getContextualReference, getContextualReference, getContextualReference, getCurrentConfiguration, getCurrentManager, getUniqueBean, getUniqueBean, isThrowablePresent, newDependentInstance, passivate, rawTypeSetMatches, setContextActive, setContextInactive, typeSetMatchespublic PassivationCapableDependencyErrorTest()
@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.