Package org.javalite.activejdbc.test_models

Examples of org.javalite.activejdbc.test_models.Meal


*/
public class Defect140Test extends ActiveJDBCTest {

    @Test
    public void shouldNotWrapDBException(){
        Meal m  = new Meal();
        try{
            m.saveIt();
        }catch(DBException e){
            the(e.getCause() instanceof DBException).shouldBeFalse();
        }
    }
View Full Code Here

TOP

Related Classes of org.javalite.activejdbc.test_models.Meal

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.