@Test
public void ifTheAmountIsDecimalTheSecondsAreMultiplied() {
ResourcesPerDay resourcesPerDay = ResourcesPerDay
.amount(new BigDecimal(2.4));
assertThat(resourcesPerDay.asDurationGivenWorkingDayOf(hours(8)),
equalTo(hours(19).and(12, Granularity.MINUTES)));
assertThat(resourcesPerDay.asDurationGivenWorkingDayOf(hours(10)),
equalTo(hours(24)));
assertThat(resourcesPerDay.asDurationGivenWorkingDayOf(hours(2)),
equalTo(hours(4).and(48, Granularity.MINUTES)));