org.jboss.jsr299.tck.tests.event.broken.observer.notBusinessMethod
Class EJBObserverMethodNotBusinessMethodTest

java.lang.Object
  extended by org.jboss.testharness.AbstractTest
      extended by org.jboss.jsr299.tck.AbstractJSR299Test
          extended by org.jboss.jsr299.tck.tests.event.broken.observer.notBusinessMethod.EJBObserverMethodNotBusinessMethodTest
All Implemented Interfaces:
org.testng.IHookable, org.testng.ITestNGListener

@Artifact
@Packaging(value=EAR)
@ExpectedDeploymentException(value=DeploymentFailure.class)
@SpecVersion(spec="cdi",
             version="20091101")
public class EJBObserverMethodNotBusinessMethodTest
extends AbstractJSR299Test

Test an observer method on an EJB that is neither a business method nor a static method of the class.

Author:
David Allen

Constructor Summary
EJBObserverMethodNotBusinessMethodTest()
           
 
Method Summary
 void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()
           
 
Methods inherited from class org.jboss.jsr299.tck.AbstractJSR299Test
annotationSetMatches, deserialize, destroyContext, getBeans, getBeans, getCurrentConfiguration, getCurrentManager, getInstanceByName, getInstanceByType, getInstanceByType, getUniqueBean, getUniqueBean, handleDeploymentFailure, rawTypeSetMatches, serialize, setContextActive, setContextInactive, typeSetMatches
 
Methods inherited from class org.jboss.testharness.AbstractTest
afterClass, afterMethod, afterSuite, beforeClass, beforeMethod, beforeSuite, getContextPath, isInContainer, isThrowablePresent, postCreate, run, setInContainer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBObserverMethodNotBusinessMethodTest

public EJBObserverMethodNotBusinessMethodTest()
Method Detail

testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails

@SpecAssertions(value={@SpecAssertion(section="10.4",id="d"),@SpecAssertion(section="10.4.2",id="g")})
public void testObserverMethodOnEnterpriseBeanNotBusinessMethodOrStaticFails()


Copyright © 2008-2012 Seam Framework. All Rights Reserved.