return propertyExpensesAnnotation_not_community_useQuarterly;
}
private Annotation getPropertyExpensesAnnotationNotCommunityNotUseQuarterly(
PropertyBook propertyBook) {
PropertyExpensesAnnotation propertyExpensesAnnotation_not_community_not_useQuarterly = new PropertyExpensesAnnotation();
propertyExpensesAnnotation_not_community_not_useQuarterly
.setAmount(1000.0);
propertyExpensesAnnotation_not_community_not_useQuarterly
.setBook(propertyBook);
propertyExpensesAnnotation_not_community_not_useQuarterly
.setCommunity(false);
propertyExpensesAnnotation_not_community_not_useQuarterly
.setConcept("cleaning");
propertyExpensesAnnotation_not_community_not_useQuarterly
.setDate(getDateFromString("01/01/2012"));
propertyExpensesAnnotation_not_community_not_useQuarterly
.setDeductiblePercentage(50.0);
propertyExpensesAnnotation_not_community_not_useQuarterly
.setUseQuarterly(false);
propertyExpensesAnnotation_not_community_not_useQuarterly.setVat(100.0);
propertyExpensesAnnotation_not_community_not_useQuarterly = AnnotationsBusiness
.createAnnotation(propertyExpensesAnnotation_not_community_not_useQuarterly);
Assert.assertEquals(new Double(0.0),
propertyExpensesAnnotation_not_community_not_useQuarterly
.getBaseImponibleQuarterly());
Assert.assertEquals(new Double(1000.0),
propertyExpensesAnnotation_not_community_not_useQuarterly
.getBaseImponibleYearly());
Assert.assertEquals(new Double(500.0),
propertyExpensesAnnotation_not_community_not_useQuarterly
.getDeclaredYearly());
Assert.assertEquals(new Double(-1000.0),
propertyExpensesAnnotation_not_community_not_useQuarterly
.getSignedAmount());
Assert.assertEquals(new Long(100000L),
propertyExpensesAnnotation_not_community_not_useQuarterly
.getTwoDecimalLongCodifiedAmount());
return propertyExpensesAnnotation_not_community_not_useQuarterly;
}