Package com.indeed.proctor.common.el

Examples of com.indeed.proctor.common.el.LibraryFunctionMapper


    @Test
    public void testConstruction() {
        final Map<String, Class<?>> libraryClasses = Maps.newHashMap();
        libraryClasses.put("tlfm", TestLibraryFunctionMapper.class);
        final LibraryFunctionMapper mapper = new LibraryFunctionMapper(libraryClasses);
        final Method foundMe = mapper.resolveFunction("tlfm", "findMe");
        assertNotNull(foundMe);
        final Method foundMeToo = mapper.resolveFunction("tlfm", "findMeToo");
        assertNotNull(foundMeToo);
    }
View Full Code Here

TOP

Related Classes of com.indeed.proctor.common.el.LibraryFunctionMapper

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.