Package org.drools.core

Examples of org.drools.core.RuleIntegrationException


public class RuleIntegrationExceptionTest {
    @Test
    public void testConstruct() {
        final Rule rule = new Rule( "cheese" );

        final RuleIntegrationException e = new RuleIntegrationException( rule );

        assertSame( rule,
                    e.getRule() );

        assertEquals( "cheese cannot be integrated",
                      e.getMessage() );
    }
View Full Code Here

TOP

Related Classes of org.drools.core.RuleIntegrationException

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.