Package org.javalite.activejdbc.test_models

Examples of org.javalite.activejdbc.test_models.Reader


public class Issue217Test extends ActiveJDBCTest {

    @Test
    public void shouldReturnShort() {

        Reader reader = new Reader();
        reader.set("book_id", 1);
        a(reader.getShort("book_id")).shouldBeA(Short.class);
        reader.set("book_id", "1");
        a(reader.getShort("book_id")).shouldBeA(Short.class);

    }
View Full Code Here

TOP

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

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.