By designing and performing an experiment.
Explanation:
A hypothesis is an educated guess or theory, so to test a hypothesis, one would not only design an experiment, but perform it as well.