Package org.kie.spring.beans.annotations

Examples of org.kie.spring.beans.annotations.DefaultValuesBean


    @Test
    public void testKieBase() throws Exception {
        KieBase kbase = (KieBase) context.getBean("drl_kiesample3");
        assertNotNull(kbase);
        DefaultValuesBean sampleBean = (DefaultValuesBean) context.getBean("sampleBean");
        assertNotNull(sampleBean);
        assertNotNull(sampleBean.getKieBase() );
        assertTrue(sampleBean.getKieBase() instanceof KieBase);
    }
View Full Code Here


    @Test
    public void testSetterKieBase() throws Exception {
        KieBase kbase = (KieBase) context.getBean("drl_kiesample3");
        assertNotNull(kbase);
        DefaultValuesBean sampleBean = (DefaultValuesBean) context.getBean("sampleBean");
        assertNotNull(sampleBean);
        assertNotNull(sampleBean.getKieBase2() );
        assertTrue(sampleBean.getKieBase2() instanceof KieBase);
    }
View Full Code Here

TOP

Related Classes of org.kie.spring.beans.annotations.DefaultValuesBean

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.