There is a tight relationship between estimation of distribution parameters and hypothesis testing for these parameters. This paper tries to formalize this connection. We define helper concepts, the α acceptance set and the α-confidence set (the generalization of acceptance intervall and confidence interval). Further we develop a unified approach for generating confidence intervals and emphasize the link between acceptance sets and confidence sets.