Package org.apache.webbeans.newtests.decorators.multiple

Examples of org.apache.webbeans.newtests.decorators.multiple.IOutputProvider


        final Bean<?> bean = getBeanManager().getBeans(OutputProvider.class, new AnnotationLiteral<Default>()
        {
        }).iterator().next();

        final IOutputProvider instance = (IOutputProvider) getBeanManager().getReference(bean, IOutputProvider.class, getBeanManager().createCreationalContext(bean));
        final String expected = "delegate/traceorg.apache.webbeans.newtests.decorators.multiple.OutputProvider@.*delegate/trace";
        final String actual = instance.trace();
        assertTrue("'" + actual + "' doesn't match with '" + expected + "'", actual.matches(expected));
    }
View Full Code Here

TOP

Related Classes of org.apache.webbeans.newtests.decorators.multiple.IOutputProvider

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.