One/double sided interval

Dear experts,

given a two sided test statistic, suppose that one wants to calculate a double-sided (central) interval using HypoTestInverter, given a confidence level.
Does “UpperLimit” function retrieves the “single-sided” upper limit even in this case, or does it just retrieve the right boundary of a confidence interval (with the given coverage, say 95%)? In this last case, what is the most straightforward method to get left/right interval boundaries?

Thank you.

Michele.