@Test
public void allocate() {

    for (Money mon : money.allocate(10)) {
        assertEquals(101, mon.getCent());
    }
    Money xMoney = new Money();
    for (Money mon : money.allocate(new long[] { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 })) {
        xMoney.addTo(mon);
    }
    assertEquals(money, xMoney);
    // Arrays.toString(money.allocate(10));
}