@RunWith(ValidationRunner.class)
public class CheckInvalidContainerTransactionTest {
@Keys({@Key("containerTransaction.ejbNameRequired"), @Key("containerTransaction.noSuchEjbName")})
public EjbJar test() throws Exception {
final EjbJar ejbJar = new EjbJar();
final ContainerTransaction tx = new ContainerTransaction(TransAttribute.REQUIRED, new Method((String) null, (String) null));
ejbJar.getAssemblyDescriptor().getContainerTransaction().add(tx);
final ContainerTransaction tx1 = new ContainerTransaction(TransAttribute.REQUIRED, new Method("wrongEjbName", "wrongMethodName"));
ejbJar.getAssemblyDescriptor().getContainerTransaction().add(tx1);
return ejbJar;
}