class DefaultUnitOfWorkManager implements UnitOfWorkManager {

    @Override
    public UnitOfWork newUnitOfWork() {
        
        return new ManagedUnitOfWork(factory.create(eventManager), this::associate, this::dissociate, this::dissociate);
    }

    public  DefaultUnitOfWorkManager(UnitOfWorkFactory factory);
    public  DefaultUnitOfWorkManager(UnitOfWork fallbackUnitOfWork, UnitOfWorkFactory factory);

}