Package org.libreplan.business.orders.entities

Examples of org.libreplan.business.orders.entities.AggregatedHoursGroup


    public void getHoursReturnTheSumOfAllHours() {
        HoursGroup h1 = createHoursGroupWithCriterions(criterion1, criterion2);
        h1.setWorkingHours(10);
        HoursGroup h2 = createHoursGroupWithCriterions(criterion1, criterion2);
        h2.setWorkingHours(5);
        AggregatedHoursGroup aggregate = AggregatedHoursGroup.aggregate(h1, h2)
                .get(0);
        assertThat(aggregate.getHours(), equalTo(15));
    }
View Full Code Here

TOP

Related Classes of org.libreplan.business.orders.entities.AggregatedHoursGroup

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.