import static org.junit.Assert.assertEquals;
public class BeansXmlNamespaceTest {
@Test
public void read() throws OpenEJBException {
final Beans beans = ReadDescriptors.readBeans(getClass().getResourceAsStream("/beans-namespace.xml"));
assertEquals(1, beans.getInterceptors().size());
assertEquals("foo", beans.getInterceptors().iterator().next());
assertEquals(1, beans.getDecorators().size());
assertEquals("bar", beans.getDecorators().iterator().next());
}