Package org.drools.guvnor.models.testscenarios.backend

Examples of org.drools.guvnor.models.testscenarios.backend.SqlDateWrapper


import org.drools.guvnor.models.testscenarios.shared.VerifyField;

public class FactFieldValueVerifierTest extends TestCase {
    public void testSQLDate() throws Exception {

        SqlDateWrapper sqlDateWrapper = new SqlDateWrapper();
        sqlDateWrapper.setSqlDate(new Date(2012 - 1900, 11, 12));

        HashMap<String, Object> populatedData = new HashMap<String, Object>();
        populatedData.put("sqlDateWrapper", sqlDateWrapper);

        TypeResolver typeResolver = mock(TypeResolver.class);
View Full Code Here


        factPopulator.populate();

        assertTrue( populatedData.containsKey( "c1" ) );

        SqlDateWrapper sqlDateWrapper = (SqlDateWrapper) populatedData.get( "c1" );
        assertNotNull( sqlDateWrapper.getSqlDate() );

    }
View Full Code Here

TOP

Related Classes of org.drools.guvnor.models.testscenarios.backend.SqlDateWrapper

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.