assertThat(s, haveValues(10, 7, 7, 10));
}
@Test
public void theIncrementIsEquallyDistributedToTheSharesWithLessUntilEqualTheOthers() {
givenDivisionShare(new Share(10), new Share(5), new Share(5),
new Share(10));
assertThat(shareDivision.plus(2), haveValues(10, 6, 6, 10));
assertThat(shareDivision.plus(10), haveValues(10, 10, 10, 10));
assertThat(shareDivision.plus(11), haveValues(11, 10, 10, 10));
assertThat(shareDivision.plus(12), haveValues(11, 11, 10, 10));
assertThat(shareDivision.plus(14), haveValues(11, 11, 11, 11));