Package org.jboss.cdi.tck.literals

Examples of org.jboss.cdi.tck.literals.NamedLiteral


    @SpecAssertions({ @SpecAssertion(section = DEFAULT_NAME, id = "fc") })
    public void testDefaultNamed() {
        Bean<Tarantula> tarantulaBean = getUniqueBean(Tarantula.class, PET_LITERAL);
        assertEquals(tarantulaBean.getName(), "producedPetTarantula");
        // Any, Pet, Named
        assertTrue(annotationSetMatches(tarantulaBean.getQualifiers(), AnyLiteral.INSTANCE, PET_LITERAL, new NamedLiteral(
                "producedPetTarantula")));
    }
View Full Code Here

TOP

Related Classes of org.jboss.cdi.tck.literals.NamedLiteral

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.