Given a Budget A has no sub-budgets already
When a Sub-budget B is created for it (as the first sub-budget),
Then the remaining amount in that Budget A not allocated in Sub-budget B should be placed in a second sub-budget called something like "Unallocated"
And the SetAmount for the parent Budget A should be set to null.
Given a Budget A has sub-budgets already
When a Sub-budget B is created for it (as the first sub-budget),
Then the remaining amount in that Budget A not allocated in Sub-budget B should NOT be placed in another sub-budget
And the SetAmount for the parent Budget A should be left alone (already null by now).
Given a Budget A has no sub-budgets already When a Sub-budget B is created for it (as the first sub-budget), Then the remaining amount in that Budget A not allocated in Sub-budget B should be placed in a second sub-budget called something like "Unallocated" And the SetAmount for the parent Budget A should be set to null.
Given a Budget A has sub-budgets already When a Sub-budget B is created for it (as the first sub-budget), Then the remaining amount in that Budget A not allocated in Sub-budget B should NOT be placed in another sub-budget And the SetAmount for the parent Budget A should be left alone (already null by now).