Package org.pau.assetmanager.viewmodel

Examples of org.pau.assetmanager.viewmodel.YearlyReportViewModel


    checkYearly(propertyBook, annotationsExpectedToBeUsedInYearly);
  }
 
  public void checkYearly(PropertyBook propertyBook,
      List<Annotation> annotationsExpectedToBeUsedInYearly) {
    YearlyReportViewModel yearlyReportViewModel = new YearlyReportViewModel();
    yearlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    yearlyReportViewModel.setYearlyReportYear(2012);
    AnnotationDateYearlyGroupingModel annotationsDateYearlyGroupingModel = yearlyReportViewModel
        .getAnnotationsDateYearlyGroupingModel();
    Integer numberOfGroups = annotationsDateYearlyGroupingModel
        .getGroupCount();
    // we expect 1 property (the one selected)
    Assert.assertEquals(new Integer(1), numberOfGroups);
View Full Code Here


  }
 

  public void checkYearly(PropertyBook propertyBook,
      List<Annotation> annotationsExpectedToBeUsedInYearly) {
    YearlyReportViewModel yearlyReportViewModel = new YearlyReportViewModel();
    yearlyReportViewModel.updateBookSelection(BookSelection
        .fromBook(propertyBook));
    yearlyReportViewModel.setYearlyReportYear(2012);
    AnnotationDateYearlyGroupingModel annotationsDateYearlyGroupingModel = yearlyReportViewModel
        .getAnnotationsDateYearlyGroupingModel();
    Integer numberOfGroups = annotationsDateYearlyGroupingModel
        .getGroupCount();
    // we expect 1 property (the one selected)
    Assert.assertEquals(new Integer(1), numberOfGroups);
View Full Code Here

TOP

Related Classes of org.pau.assetmanager.viewmodel.YearlyReportViewModel

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.