UnitOfWork uow = module.newUnitOfWork( newUsecase( "Pay all bills from checking to creditors" ) );
try
{
BalanceData source = uow.get( BalanceData.class, CHECKING_ACCOUNT_ID );
PayBillsContext2 context = module.newObject( PayBillsContext2.class );
context.bind( source ).payBills();
}
finally
{
uow.discard();
}