Package fr.adrienbrault.idea.symfony2plugin.doctrine.component

Examples of fr.adrienbrault.idea.symfony2plugin.doctrine.component.EntityNamesServiceParser


    @Test
    public void testParse() throws Exception {

        File testFile = new File(this.getClass().getResource("appDevDebugProjectContainer.xml").getFile());
        EntityNamesServiceParser entityNamesServiceParser = new EntityNamesServiceParser();
        entityNamesServiceParser.parser(testFile);
        Map<String, String> map = entityNamesServiceParser.getEntityNameMap();

        assertEquals("\\My\\NiceBundle\\Entity", map.get("MyNiceBundle"));
        assertEquals("\\Your\\TestBundle\\Entity", map.get("YourTestBundle"));
    }
View Full Code Here

TOP

Related Classes of fr.adrienbrault.idea.symfony2plugin.doctrine.component.EntityNamesServiceParser

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.