Package cat.quickdb.binding.model

Examples of cat.quickdb.binding.model.BindingObject.obtain()


    @Test
    public void testObtain(){
        BindingObject bind = new BindingObject();

        bind.obtain().If("name").equal("quickdb").find();
        Assert.assertEquals("quickdb", bind.getName());
        Assert.assertEquals(3000.50, bind.getSalary());
    }

    @Test
View Full Code Here


    @Test
    public void testObtainString(){
        BindingObject bind = new BindingObject();

        bind.obtain("name = 'quickdb'");
        Assert.assertEquals("quickdb", bind.getName());
        Assert.assertEquals(3000.50, bind.getSalary());
    }

    @Test
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.