public void testSummaryAttributes(){
if(this.admin.checkTableExist("ObjectSummary")){
this.admin.executeQuery("DROP TABLE ObjectSummary");
}
ObjectSummary summ = new ObjectSummary();
summ.setValue(23);
summ.setSalary(100.5);
Assert.assertTrue(admin.save(summ));
ObjectSummary summ2 = new ObjectSummary();
summ2.setValue(5);
summ2.setSalary(500.5);
Assert.assertTrue(admin.save(summ2));
ObjectSummary summ3 = new ObjectSummary();
summ3.setValue(34);
summ3.setSalary(200);
Assert.assertTrue(admin.save(summ3));
ObjectSummary summ4 = new ObjectSummary();
admin.obtain(summ4).If("value").greater(2).find();
Assert.assertEquals(62.0, summ4.getSummmary());
Assert.assertEquals(267.0, summ4.getPromSalary());
Assert.assertEquals(34.0, summ4.getMaxValue());
Assert.assertEquals(5.0, summ4.getMinValue());
Assert.assertEquals(3.0, summ4.getCountValue());
ObjectSummary summ5 = new ObjectSummary();
admin.obtain(summ5, "value > 10");
Assert.assertEquals(57.0, summ5.getSummmary());
Assert.assertEquals(150.25, summ5.getPromSalary());
Assert.assertEquals(34.0, summ5.getMaxValue());
Assert.assertEquals(23.0, summ5.getMinValue());
Assert.assertEquals(2.0, summ5.getCountValue());
}