Package org.drools.ide.common.client.modeldriven.brl

Examples of org.drools.ide.common.client.modeldriven.brl.DSLComplexVariableValue


   
    @Test
    public void testDSLComplexVariableValueInterpolation() {
        final DSLSentence sen = new DSLSentence();
        sen.setDefinition( "a {here} and {here}" );
        sen.getValues().set( 0, new DSLComplexVariableValue("123","word"));
        sen.getValues().set( 1, new DSLComplexVariableValue("some-other-value","word") );
        assertEquals( "a word and word",
                      sen.interpolate() );
    }
View Full Code Here

TOP

Related Classes of org.drools.ide.common.client.modeldriven.brl.DSLComplexVariableValue

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.