Package org.easycassandra.bean.model

Examples of org.easycassandra.bean.model.Professional


    /**
     * run the test.
     */
    @Test
    public void insertTest() {
        Professional professional = getProfessional();
        Assert.assertTrue(persistence.insert(professional));
    }
View Full Code Here


        Professional professional = getProfessional();
        Assert.assertTrue(persistence.insert(professional));
    }

    private Professional getProfessional() {
        Professional professional = new Professional();
        professional.setName("Programmer");
        professional.setSalary(SALARY);
        return professional;
    }
View Full Code Here

    /**
     * run the test.
     */
    @Test
    public void retrieveTest() {
        Professional professional = persistence.retrieve(getProfessional()
                .getName());
        Assert.assertNotNull(professional);
        Assert.assertNull(professional.getSalaryYear());

    }
View Full Code Here

TOP

Related Classes of org.easycassandra.bean.model.Professional

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.