Thank you for clarifying. It will work the same no matter how many managed domains you have. You will just need to configure the desired behaviour according to your needs. As a start, you can download and install Adaxes in your AD environment and play with it live. You will have a free 30 days trial period.
If you have issues configuring something specific, please, describe it in details with live examples.